/* Twitter Posts Plugin - IPM Theme Overrides */

.twitter-posts-container {
    font-family: inherit;
}

.twitter-posts-container .twitter-posts-header {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.twitter-posts-container .twitter-posts-header .twitter-user-name {
    font-weight: 600;
    font-style: normal;
    font-size: 21px;
    line-height: 30px;
    letter-spacing: 0;
    color: rgba(47, 42, 43, 1) !important;
}
.twitter-posts-container .twitter-posts-header .twitter-user-name a {
    color: rgba(47, 42, 43, 1) !important;
}

.twitter-posts-container .t-author-name a {
    color: #0b1220 !important;
}

.twitter-posts-container .twitter-posts-header::before {
    display: none;
}

.twitter-posts-container .twitter-user-name {
    color: rgba(47, 42, 43, 1) !important;
}

.twitter-posts-container .twitter-user-username,
.twitter-posts-container .twitter-user-username a {
    color: rgba(117, 117, 117, 1) !important;
}

.twitter-posts-container .verified-icon {
    display: none !important;
}

.twitter-posts-container .twitter-follow-button {
    width: 160px;
    height: 38px;
    border-radius: 90px;
    overflow: hidden;
}

.twitter-posts-container .follow-on-x-button {
    background: rgba(47, 42, 43, 1);
    color: #ffffff;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
}

.twitter-posts-container .follow-text {
    color: #ffffff;
    font-weight: 600;
}

.twitter-posts-container .x-icon {
    filter: invert(1);
}

.twitter-posts-container .twitter-post {
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.twitter-posts-container .twitter-post-header {
    margin-bottom: 6px;
}

.twitter-posts-container .t-author-name { color: #0b1220; font-size: 17px; }
.twitter-posts-container .twitter-post-author-username { color: #5b6478; }
.twitter-posts-container .twitter-post-date { color: #5b6478; }

.twitter-posts-container .twitter-post-content {
    color: #0b1220;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0;
    -webkit-line-clamp: 5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.twitter-posts-container .twitter-post-content.no-ellipsis {
    -webkit-line-clamp: initial;
    max-height: calc(28px * 5);
    display: block;
    overflow: hidden;
}

.twitter-posts-container .read-more-link {
    color: rgba(0, 121, 209, 1);
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-transform: none;
}

.twitter-posts-container .read-more-link::after {
    display: none !important;
    content: none !important;
}

.twitter-posts-container .twitter-post-footer {
    justify-content: center;
    padding-left: 0;
    margin-top: 8px;
    display: flex;
    float: none;
}

.twitter-posts-container .twitter-post-read-more {
    width: 100%;
    text-align: right;
}

.twitter-posts-container.layout-horizontal .twitter-post:not(:last-child)::after {
    background-color: #eef0f5;
}

.twitter-posts-container .twitter-posts-loading::before {
    border-top-color: #0a4bff;
}

.twitter-posts-container .twitter-post-dot.active {
    background: #0a4bff;
}

.twitter-posts-container .twitter-post-author-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.twitter-posts-container .twitter-post-author-name {
    margin-bottom: 0;
    flex-basis: 100%;
}

.twitter-posts-container .twitter-post-author-username {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    max-width: max-content;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.twitter-posts-container .twitter-post-author-username { white-space: inherit; }

.twitter-posts-container .twitter-post-date {
    display: inline-block;
    white-space: nowrap;
    margin-left: 8px;
    flex: 0 0 auto;
}

.twitter-posts-container .twitter-post-author-username + .twitter-post-date::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: currentColor;
    border-radius: 50%;
    margin: 0 6px;
    vertical-align: middle;
}

.twitter-posts-container .twitter-post-author-username,
.twitter-posts-container .twitter-post-date {
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0;
    color: rgba(117, 117, 117, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.twitter-posts-container .twitter-post-author-username {
    color: rgba(117, 117, 117, 1);
    z-index: 1;
}

.twitter-posts-container .twitter-post-author-username:hover,
.twitter-posts-container .twitter-post-author-username:focus-visible {
    text-decoration: underline;
}