h2 {
    font-size: 1.7rem;
    font-weight: 400;
}

a:hover {
    text-decoration: none;
}

.thoxt-rows-div,
.profile-thoxt-rows-div {
    display: block;
    position: relative;
    margin: 20px auto 0 100px;
    width: 100%;
    max-width: 600px;
}

.thoxt-row {
    display: block;
    position: relative;
    overflow: hidden;
    margin-right: 0px;
    margin-bottom: 20px;
    padding-right: 0px;
}

.thoxt-row-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 10px;
}

.see-all-link {
    font-size: .9em;
    color: var(--button-text-color);
    cursor: pointer;
}

.slide-row-content {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
}

.slide-row-content::-webkit-scrollbar {
    display: none;
}

.scroll-button-div {
    z-index: 4;
    opacity: 0;
    /* Hide by default */
    transition: opacity 0.3s;
    /* Smooth transition */
}

.thoxt-row:hover .scroll-button-div {
    opacity: 1;
    /* Show on hover */
}

.hide-scroll-buttons {
    display: none;
}

.scroll-next,
.scroll-prev {
    position: absolute;
    top: 42%;
    left: 0;
    right: auto;
    width: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: rgb(239, 239, 239);
    font-size: 1.8rem;
    padding: 6px 6px 9px 6px;
    cursor: pointer;
}

.scroll-next {
    right: 15px;
    left: auto;
}

.thoxt-row-article-outer {
    position: relative;
    margin-bottom: 35px;
    z-index: 1;
}

.thoxt-row-article {
    position: relative;
    transition: all .7s ease-in;
    --row-meta-color: #aaa;
    --row-desc-color: var(--button-text-color);
    background-color: var(--muted-background);
    border-radius: 15px;
    overflow: hidden;
}

.thoxt-row-thot {
    --row-meta-color: var(--thoxt-white);
}

.processing::before {
    border-radius: 15px;
}

.row-cover-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 60vh;
}

.video-thot .row-cover-container {
    aspect-ratio: 3 / 5;
}

.video-thot .video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(rgb(0, 0, 0, 0), rgb(0, 0, 0, .8));
}

.video-progress {
    opacity: 1;
}

.news-row-content .row-cover-container {
    aspect-ratio: 3 / 2;
}

.cover-image,
.thot-image-small,
.thot-image,
.thot-parent-image,
.thot-image-poll {
    position: relative;
    width: 100%;
    height: fit-content;
    min-height: 200px;
    max-height: 55vh;
    object-fit: scale-down;
    object-position: center top;
    background-color: #222;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cover-image {
    object-position: center;
    background: linear-gradient(180deg,
            var(--cover-color-1, var(--element-background)),
            var(--cover-color-2, transparent));
}

.video-thot .cover-image {
    object-fit: scale-down;
    object-position: center top;
}

.thot-image-small {
    max-height: 150px;
    margin-top: 10px;
    object-fit: scale-down;
}

.thot-parent-image,
.thot-image-poll {
    object-fit: scale-down;
    object-position: center center;
}

.thot-image-large {
    max-height: unset;
    margin-top: 5px;
}

.thot-article-container {
    border-radius: 15px;
    background-color: var(--element-background);
}

.thot-article-container .article-title {
    font-size: 1.2rem;
}

.thot-article-container .thot-meta .author-date,
.thot-article-container .thot-meta .row-engagement-outer {
    margin: 0;
}

.new-article-badge,
.new-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 25px;
    opacity: .8;
    transition: opacity .3s ease;
}

.new-article-badge {
    top: 0;
    left: 0;
    background-color: var(--thoxt-lemon);
    border-radius: 15px 0;
    padding: 0 5px;
}

.new-text {
    top: 0;
    left: 5px;
    color: var(--thoxt-black);
    font-size: 0.95rem;
    font-weight: bold;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    border-radius: 15px;
    background-color: transparent;
    transition: opacity .3s ease;
}

.video-thot .cover-image,
.thoxt-row-video {
    width: 100%;
    height: fit-content;
    min-height: 250px;
    opacity: 0;
    object-fit: scale-down;
    border: 1px solid var(--element-background);
    object-position: center top;
    pointer-events: none;
}

.video-thot .thoxt-row-video {
    opacity: 1;
}

.thoxt-row-thot .row-cover-container {
    width: 100%;
    height: 42rem;
    opacity: 0.15;
}

.thoxt-row-thot .thot-article-container .row-cover-container {
    opacity: 1;
    aspect-ratio: 3 / 2;
    height: unset;
}

.thoxt-row-meta-desc {
    position: absolute;
    display: none;
    width: 101%;
    height: fit-content;
    align-items: flex-end;
    bottom: 0;
    left: 0;
    padding: 10px;
    font-size: 1.1rem;
    line-height: normal;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    z-index: 100;
    animation: sweepUp 1s ease-in-out;
}

@keyframes sweepUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

.article-meta {
    display: block;
    position: relative;
    margin: 5px;
}

.news-row-content .article-meta {
    width: inherit;
    margin-left: 10px;
}

.video-thot-meta,
.thot-meta {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    margin: 10px;
    --row-meta-color: #ddd;
    z-index: 3;
}

.thot-meta {
    display: flex;
    flex-direction: column;
    top: 10px;
    margin: 0;
}

.thot-meta .row-mode .options-button {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
}

.thot-meta .author-date,
.thot-meta .reply-count,
.show-more-replies,
.replies .counts,
.debate-poll-body {
    margin: 0 10px;
}

.parent-body,
.reply .thot-body {
    margin: 5px 10px;
}

.thot-meta .thot-body,
.replies,
.counts {
    color: #ddd;
}

.video-thot .thot-body {
    margin-bottom: 7px;
}

.row-engagement-outer {
    width: 100%;
}

.thot-meta .row-engagement-outer {
    margin: 10px 5px 5px 5px;
}

.video-thot .row-article-video-icon {
    bottom: 9%;
    z-index: 6;
}

.play-icon {
    width: 45px;
    height: 45px;
    left: 50%;
    top: 50%;
    opacity: .9;
    transform: translate(-50%, -50%);
}

.article-desc.truncate-summary,
.thot-body,
.read-more {
    color: var(--row-desc-color);
    font-size: 1.12rem;
    cursor: default;
}

.view-full-text {
    font-weight: bold;
}

.article-title {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    line-height: 1.5rem;
    min-height: calc(1.7rem * 3);
    overflow: hidden;
    margin: 10px 3px 10px 0;
    font-size: 1.14rem;
    line-height: 1.5;
}

.truncate-summary,
.truncate-thot,
.poll-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

.thot-article-container .article-title {
    line-clamp: 2;
    -webkit-line-clamp: 2;
    height: unset;
    min-height: unset;
    color: var(--button-text-color);
}

.news-row-content .article-title {
    font-weight: 400;
    text-align: left;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: unset;
}

.no-cover {
    position: relative;
    font-size: 1.7rem;
    line-height: 1.55em;
    text-align: center;
    color: grey;
    text-shadow: 5px 5px 10px var(--thoxt-black)000;
    margin: auto;
    padding: 7px;
}

.author-date {
    display: flex;
    align-items: center;
}

.author-date,
.author-name,
.author-date span {
    font-size: 1rem;
    line-height: 1.55em;
    color: var(--row-meta-color);
}

.author-date span {
    --row-meta-color: var(--button-text-color);
}

.external-stories .author-name,
.external-stories .author-pp {
    display: none;
}

.thoxt-row-article:hover {
    background-color: #212121;
}

.row-article:not(.thoxt-row-thot-outer):hover .cover-image {
    transform: scale(1.06);
}

.thoxt-row-article-outer:hover .thoxt-row-meta-desc {
    display: flex;
}

.video-playing {
    opacity: 1;
    border: none;
}

.author-pic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-pp:hover {
    border: 2px solid rgb(229, 229, 40);
}

.meta-mini a:hover {
    color: var(--button-text-color);
}

.meta-mini {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--thoxt-lemon);
}

.options-button {
    margin: 8px 0;
}

.options-icon {
    width: 1.7em;
}

.tooltip {
    top: 50px;
}

.article-progress-bar {
    display: block;
    position: relative;
    margin: auto;
    width: 85%;
    height: 5px;
    margin: 5px auto;
    background-color: rgb(45, 45, 45);
}

.article-progress-bar-fill {
    display: block;
    position: absolute;
    width: 14px;
    height: 100%;
    background-color: var(--thoxt-lemon);
}

.no-audio-icon {
    width: fit-content;
    font-size: .95rem;
    color: #eee;
    background-color: rgb(0, 0, 0, .3);
}

.row-thot {
    min-width: 35vh;
    padding: 10px;
}

.row-thot .article-title {
    padding: 10px 0;
    border-top: 1px solid #999;
}

.row-thot-body {
    overflow: hidden;
    padding: 5px 0;
}

.truncate-thot {
    line-clamp: 3;
    -webkit-line-clamp: 3;
    max-height: calc(3 * 1.5em);
}

.news-load-helpers {
    display: flex;
    justify-content: center;
    width: 100%;
}

.news-load-more {
    padding: 2px 10px;
    background-color: transparent;
    color: var(--button-text-color);
    transition: all .3s ease;
}

.load-more-text {
    font-size: .9rem;
}

.news-load-more:hover {
    color: var(--thoxt-white);
    background-color: var(--element-background);
}

.news-row-content .thoxt-row-article-outer {
    margin: 0;
}

.primary-genre-div {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.2em;
    padding: 0 10px 4px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 15px;
    z-index: 2;
}

.primary-genre {
    font-size: .9rem;
    color: var(--thoxt-white);
}

.thot-article-container .thoxt-row-article-outer {
    width: unset;
    margin-bottom: 0;
}

.thot-article-container .thoxt-row-article {
    background-color: var(--element-background);
}

.reply-count,
.show-more-replies {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.show-more-replies {
    cursor: pointer;
}

.thot-meta .article-engagement {
    margin-bottom: 10px;
}

.replies {
    padding: 5px 0;
    border-top: 1px solid #444;
}

.grand-children {
    padding-left: 15px;
}

.replies .engagement-icon {
    width: 20px;
    height: 20px;
}

.replies .counts,
.counts {
    color: var(--button-text-color);
    font-size: 0.9rem;
}

.reply {
    padding: 7px 0;
    border-bottom: 1px solid #444;
}

.grand-child {
    border-bottom: unset;
}

.reply .thot-body {
    color: var(--button-text-color);
    font-size: 1rem;
}

.vertical-mode,
.external-stories-mobile,
.article-desc.truncate-summary {
    display: none;
}

.singlethot-poll {
    padding: 5px;
}

.singlethot-poll small {
    padding: 0 10px;
}

.poll-option-subdiv {
    padding: 4px;
}

.poll-label {
    font-size: 1.1rem;
}

.poll-option-button,
.poll-option-button:disabled {
    margin: 0;
    padding: 4px 7px;
}

.poll-icon-body .thot-body {
    width: 100%;
}

.poll-icon-body svg {
    margin-right: 0;
    margin-left: 5px;
}

/* Don't show read buttons on thots */
.thoxt-row-thot .read-article-container,
.video-thot .read-article-container {
    display: none;
}

.promote-insights-div {
    display: flex;
    justify-content: flex-end;
}

/* Thot row differences */
.thots-row .thoxt-row-thot .row-cover-container:not(.thots-row .thoxt-row-thot .thot-article-container .row-cover-container) {
    height: 33rem;
}

/* Mixed row differences */
.mixed-row .row-cover-container:not(.mixed-row .row-video-container):not(.mixed-row .thoxt-row-article .row-cover-container) {
    /* aspect-ratio: unset; */
    background-color: transparent;
}

.mixed-row .thoxt-row-article,
.mixed-row .video-thot .row-cover-container {
    /* aspect-ratio: 9 / 18; */
    overflow: hidden;
}

.mixed-row .thoxt-row-thot .row-cover-container:not(.mixed-row .thoxt-row-thot .thot-article-container .row-cover-container) {
    height: 100%;
    /* aspect-ratio: 9 / 18; */
}

.mixed-row .thoxt-row-article {
    min-height: 100%;
}

.mixed-row .thot-article-container .thoxt-row-article-outer {
    /* aspect-ratio: unset; */
    margin-bottom: 0;
}

.mixed-row .thot-image-small,
.mixed-row .thot-image-poll {
    flex: 1;
    width: 100%;
    object-fit: cover;
    min-height: 0;
    max-height: unset;
}

.mixed-row .thot-image-poll {
    display: none;
}

.row-thot {
    margin-bottom: 10px;
}

.thoxt-row-meta-desc {
    border-radius: 0;
}

.scroll-next {
    right: 25px;
}

.views-time {
    font-size: .9rem;
}

.news-row-content .views-time {
    font: 1em;
}

.row-article:not(.thoxt-row-thot-outer):hover .cover-image {
    transform: none;
}

.thoxt-row-article-outer:hover .thoxt-row-meta-desc {
    display: none;
}

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
}

body.no-scroll {
    overflow-y: hidden !important;
    touch-action: none !important;
    /* for mobile */
}

h1,
h2 {
    padding-left: 10px;
}

::-webkit-scrollbar {
    display: none;
}

#mobile-menu {
    z-index: 100;
    /* Story modal goes on top of this */
}

.see-all-link {
    font-size: .9rem;
}

.thoxt-row-content.video-thots-row {
    flex-direction: row;
    gap: 10px;
    /* Don't want video thots to be full width */
}

.slide-row-content {
    flex-wrap: wrap;
    overflow-x: hidden;
    max-width: 100vw;
    touch-action: pan-y;
}

.thoxt-row-article-outer,
.row-thot {
    width: 100%;
    max-width: 100%;
    margin: 12px 0;
}

.video-thots-row .thoxt-row-article-outer {
    width: calc(50% - 5px);
    max-width: unset;
    margin: 5px 0;
}

.video-thots-row .author-date {
    display: none;
}

.video-thots-row .top-meta {
    position: absolute;
    top: 5px;
    right: 0;
    z-index: 11;
}

.thoxt-row-article:hover {
    background-color: unset;
}

.separator {
    border-bottom: 4px solid #222;
}

.row-cover-rect {
    height: 40vh;
    border-radius: 0;
}

.news-row-content .thoxt-row-article {
    display: flex;
    flex-wrap: nowrap;
}

.thoxt-row-article {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.row-video-container {
    max-height: 70vh;
}

.news-row-content .row-cover-container {
    min-width: unset;
    max-width: 40%;
    border-radius: 15px;
    margin: 0;
    aspect-ratio: 4 / 5;
}

.video-thot .row-cover-container,
.mixed-row .video-thot .row-cover-container {
    aspect-ratio: 3 / 4.5;
}

.mixed-row .thoxt-row-article {
    min-height: unset;
}

.mixed-row .thoxt-row-thot .row-cover-container:not(.mixed-row .thoxt-row-thot .thot-article-container .row-cover-container),
.thots-row .thoxt-row-thot .row-cover-container:not(.thots-row .thoxt-row-thot .thot-article-container .row-cover-container) {
    display: none;
}

.thoxt-row:hover .scroll-button-div {
    opacity: 0;
}

.thot-meta {
    position: relative;
}

.thot-meta .author-date,
.thot-meta .thot-body,
.article-desc,
.author-pic,
.read-more,
.show-more-replies,
.video-thot .thot-body {
    padding: 0 10px;
}

.debate-poll-body {
    margin: 0;
}

.video-thot .thot-body {
    margin-bottom: 0;
}

.video-thot .row-video-container {
    margin-top: 10px;
}

.row-article .article-engagement {
    padding: 0 10px 5px 10px;
}

.row-engagement-outer {
    overflow: visible;
}

.thot-meta .row-engagement-outer {
    margin: 0;
    padding: 0;
}

.article-title,
.article-engagement,
.thot-meta .reply-count {
    padding: 5px 10px;
}

.row-thot .article-engagement {
    margin: 10px 10px 10px 5px;
}

.reply {
    border-bottom: none;
}

.news-row-content .cover-image {
    object-fit: cover;
}

.thot-parent-image {
    margin: 10px 0;
}

/* Sorry i know these are confusing */
.row-mode, .news-row-content .meta-before-cover,
.news-row-content .vertical-mode-topline {
    display: none;
}

.vertical-mode,
.news-row-content .row-mode,
.external-stories-mobile {
    display: block;
}

.news-row-content .row-engagement-outer {
    display: none;
}

/* End of confusion */

.news-row-content .article-desc {
    padding: 0;
    margin: 10px 0;
}

.article-desc.truncate-summary,
.thot-body {
    position: relative;
    display: block;
    max-height: calc(3 * 1.5em);
    transition: max-height 0.35s ease;
}

.article-desc.truncate-summary::after,
.thot-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    background: linear-gradient(to bottom,
            transparent,
            var(--thoxt-background));
    pointer-events: none;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.article-desc.truncate-summary.has-overflow::after,
.thot-body.has-overflow::after {
    opacity: 1;
}

.thot-article-container .article-desc.truncate-summary::after,
.thot-article-container .thot-body::after {
    background: linear-gradient(to bottom,
            transparent,
            var(--element-background));
}

.article-desc.truncate-summary.expanded::after,
.thot-body.expanded:after,
.video-thot .thot-body::after {
    opacity: 0;
}

.article-meta {
    margin-top: 0;
}

.news-row-content .article-meta,
.top-meta {
    width: 100%;
    padding-top: 0;
    margin-bottom: 0;
}

.meta-mini {
    margin-bottom: 0;
}

.mixed-row .thot-image-small {
    max-height: 40vh;
    margin-top: 5px;
}

.vertical-mode-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-name {
    font-size: 1rem;
    color: white;
}

.thoxt-row .profile-pic {
    width: 40px;
    height: 40px;
}

.author-pp {
    margin-right: 0;
    ;
}

.news-row-content .article-meta {
    font-size: 1rem;
    color: #888;
}

.thoxt-row-video {
    border-radius: 0;
}

.thoxt-row-article-outer .video-wrapper {
    display: flex;
    justify-content: center;
}

.news-row-content .mute-icon {
    width: 24px;
    height: 24px;
}

.video-thot .row-article-video-icon {
    bottom: 18%;
}

.video-thot .mute-icon {
    right: 10px;
}

.news-row-content .row-article-video-icon {
    width: 50px;
    height: 50px;
}

.options-menu,
.share-options {
    padding-bottom: 55px;
    z-index: 11;
}

.mobile-modal-handle {
    display: block;
}

.row-thot-body {
    padding: 5px;
}

.truncate-thot {
    width: 99%;
    padding-bottom: 0;
}

.new-article-badge {
    border-radius: 0 0 15px 0;
}

.title-image {
    flex-direction: row;
}

.article-title {
    height: unset;
    min-height: unset;
    font-size: 1.25rem;
    margin-top: 5px;
}

.news-row-content .article-title {
    font-size: 1.1rem;
    margin: -5px 0 0 0;
    padding: 0;
}

.news-row-content .author-date {
    margin-top: 10px;
    font-size: .95rem;
}

.article-desc.truncate-summary,
.thot-body,
.read-more {
    font-size: 1.1rem;
}

.thot-article-container {
    border-radius: 0;
}

.thot-article-container .thot-parent-image {
    margin: 10px 0 0 0;
}

.thot-article-container .thoxt-row-article-outer {
    margin: 0;
}

.thot-article-container .author-date,
.thot-article-container .author-pic {
    padding: 0;
}

.news-row-content .author-pic {
    padding-left: 0;
}

.thot-article-container .article-desc.truncate-summary {
    font-size: 1rem;
}

.thot-article-container .vertical-mode-topline,
.thot-article-container .parent-body {
    margin-top: 10px;
}

.story {
    position: absolute;
    width: 100%;
    bottom: 0;
    top: auto;
    padding: 0;
    border-radius: 15px 15px 0 0;
    border-top: 2px solid #555;
    z-index: 200;
    /* Goes on top of mobile menu */
}

#modal-engagement,
.story-engagement-outer {
    position: fixed;
}

.cluster-details {
    margin-right: 10px;
}

.external-story-image {
    width: 100%;
    border-radius: 0;
}

.cluster-items-slider {
    overflow-x: auto;
}

.primary-genre-div {
    left: 0;
    right: auto;
    border-radius: 0 0 15px 0;
}

.external-stories .primary-genre-div {
    border-radius: 15px 0;
}

.primary-genre {
    font-size: .8rem;
}

.news-load-helpers {
    margin-bottom: 20px;
}

.poll-icon-body svg {
    margin-right: 5px;
    margin-left: 10px;
}

.replies {
    border-top: none
}

/* iPad-mini or similar Screens */
@media only screen and (max-width: 1000px) {
    .thoxt-rows-div {
        margin-left: 50px;
    }
}

/* Mobile Screens */
@media only screen and (max-width: 767px) {
    .thoxt-rows-div {
        margin-top: 15px;
        max-width: 100%;
        margin-left: 0;
    }

    .row-cover-container {
        border-radius: 0;
    }

    .news-row-content .thoxt-row-article-outer {
        margin: 15px 0;
    }

    .news-row-content .vertical-mode,
    .news-row-content .article-desc.truncate-summary {
        display: none;
    }

    .cover-image,
    .thot-image-small,
    .thot-image,
    .thot-parent-image,
    .thot-image-poll {
        height: 100%;
        border-radius: 0;
    }
}