:root[data-theme="light"],
div.light-mode {
    --tag-background: #e0e0e0;
}

:root[data-theme="dark"],
div.dark-mode {
    --tag-background: #2a2a2a;
}

h1 {
    font-size: 2.1rem;
    margin-top: 10px;
}

h2 {
    transition: all 0.3s ease;
}

h2:hover {
    opacity: .7;
}

.trending-topics-div .trending-icon {
    width: 24px;
    height: 24px;
    fill: var(--button-text-color);
    margin: 0;
}

.trending-tags-div, .trending-topics-div {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    flex-wrap: wrap;
    white-space: wrap;
    scrollbar-width: none;
    /* Hides scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hides scrollbar for IE/Edge */
    max-width: fit-content;
    max-height: 36px;
    margin-top: 50px;
}

/* Hide scrollbar for WebKit-based browsers */
.trending-tags-div::-webkit-scrollbar, .trending-topics-div::-webkit-scrollbar {
    display: none;
}

.trending-tags-div a,
.trending-topics-div a {
    color: var(--button-text-color);
}

.trending-tag, .trending-topic {
    display: inline-block;
    height: 36px;
    padding: 0 10px;
    border-radius: 15px;
    font-size: 1.11rem;
    background-color: var(--tag-background);
    color: var(--button-text-color);
    line-height: 36px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s ease;
}

.trending-tag:hover, .trending-topic:hover {
    background-color: var(--element-background);
    text-decoration: none;
    color: var(--thoxt-white);
}

.trending-topic.active {
    background-color: var(--muted-background);
    text-decoration: none;
    color: var(--thoxt-white);
}

.trending-topic.skeleton {
    width: 140px;
    min-width: 100px;
    background-color: var(--tag-background);
    opacity: 0.4;
}

.row-genres-div {
    margin: 10px;              
}

.row-genre {
    background-color: transparent;
}

.trending-topic.active {
    background-color: transparent;
    text-decoration: 3px solid #ff0;
}

.hashtag-content-outer {
    display: flex;
    gap: 10px;
}

.hashtag-content-outer .thoxt-row-article-outer {
    width: calc(33% - 20px);
}

.trending-container {
    width: 37%;
    max-width: 370px;
    border-left: 1px solid #444;
    padding-left: 10px;
}

.trending-container .feed-thot {
    margin: 25px 0;
}

.trending-container .thot-container {
    margin: 10px 0;
}

.singlethot-article .row-cover-container {
    aspect-ratio: unset;
}

.singlethot-article .cover-image {
    height: fit-content;
    max-height: 200px;
}

.row-title-subtopics {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

/* iPad Screen */
@media only screen and (max-width: 1200px) {
    .trending-tags-div, .trending-topics-div {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        max-width: fit-content;
        touch-action: pan-x;
    }

    .intro-content {
        width: 70%;
        min-width: 50ch;
    }
}

/* Mobile Screens */
@media only screen and (max-width: 767px) {
    .hashtag-content-outer {
        flex-direction: column;
    }

    .trending-container {
        width: 100%;
        max-width: 100%;
    }

    .trending-tags-div, .trending-topics-div {
        margin-top: 60px;
        margin-left: 5px;
    }

    .row-genres-div {
        margin: 10px;
    }
    
    .row-title-subtopics {
        flex-direction: column;
    }

    .hashtag-content-outer .thoxt-row-article-outer {
        width: 100%;
    }
}