﻿/* Tag of blog.css */
.tagListEachRow {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.tagListEachRowPic {
    flex: 0 0 160px;
    max-width: 160px;
}

    .tagListEachRowPic img {
        width: 100%;
        border-radius: 8px;
    }

.tagListEachRowInfo {
    flex: 1 1 0;
}

    .tagListEachRowInfo h2 {
        font-size: 1.2rem;
        margin: 0 0 8px;
    }

        .tagListEachRowInfo h2 a {
            color: #fff;
            text-decoration: none;
        }

            .tagListEachRowInfo h2 a:hover {
                color: #E82E2C;
                text-decoration: underline;
            }

.tagHashtagLabel {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 5px;
    background: #fff1;
    border-radius: 50%;
}

}
/* article of blog.css */
.courseArticleKeywords {
    font-size: 0.8rem;
    max-width: 800px;
    width: 80%;
    margin: 0 auto 40px;
}

    .courseArticleKeywords > span {
        display: block;
        margin-bottom: 10px;
    }

    .courseArticleKeywords .courseArticleKeyword {
        display: inline-block;
        margin: 0 5px 5px 0;
        padding: 5px 8px;
        font-size: 0.8rem;
        border-radius: 5px;
        background-color: #E11B19;
        color: #fff;
    }

    .courseArticleKeywords a {
        text-decoration: none;
        color: #fff; /* or your desired text color */
    }

        .courseArticleKeywords a:hover {
            color: white; /* hover color */
            text-decoration: underline; /* ensure it stays without underline */
        }

    .courseArticleKeywords .courseArticleKeyword:hover {
        -webkit-filter: brightness(1.5);
        filter: brightness(1.5);
    }




/* blog.css */

.articleListSection {
    background-color: #111;
    color: #fff;
    padding-bottom: 80px;
}

.articleListUl {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articleListLi {
    margin-bottom: 40px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.articleTagsArea {
    margin-bottom: 10px;
    position: relative;
}

.articleTagsAreaInput {
    display: none;
}

.articleHashtagAll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.articleHashtag {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 8px;
    font-size: 0.8rem;
    border-radius: 5px;
    background-color: #E11B19;
    color: #fff;
    text-decoration: none; /* ✅ no underline by default */
}

    .articleHashtag:hover {
        -webkit-filter: brightness(1.5);
        filter: brightness(1.5);
        text-decoration: underline; /* ✅ underline on hover */
    }

.articleListEachRow {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.articleListEachRowPic {
    flex: 0 0 160px;
    max-width: 160px;
}

    .articleListEachRowPic img {
        width: 100%;
        border-radius: 8px;
    }

.articleListEachRowInfo {
    flex: 1 1 0;
}

    .articleListEachRowInfo h2 {
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0 0 10px;
    }

        .articleListEachRowInfo h2 a {
            color: #fff;
        }

            .articleListEachRowInfo h2 a:hover {
                color: #E82E2C;
            }

.articleListAuthor {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 10px;
}

    .articleListAuthor span {
        margin-right: 5px;
    }

.articleListEachRowInfo p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #1F2327;
    padding: 10px 0;
}

    .breadcrumb ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

        .breadcrumb ul li {
            color: #fff;
            margin-right: 10px;
        }

            .breadcrumb ul li + li::before {
                content: ">";
                margin: 0 8px;
                color: #fff;
            }

        .breadcrumb ul a {
            color: #fff;
            text-decoration: none;
        }

            .breadcrumb ul a:hover {
                color: #E11B19;
            }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

    .pagination a {
        color: #fff;
        margin: 0 8px;
        padding: 6px 12px;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

        .pagination a:hover {
            background-color: #E82E2C;
            color: #fff;
        }
