

.section-topics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.section-topics-title {
    color: var(--color-text);
    margin: 0;
}

.topics-search {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topics-search-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: #FAFAFA;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.topics-search-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 310px;
    background: #FAFAFA;
    border-radius: 16px 99px 99px 16px;
}

.topics-search-input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 50px;
    color: var(--color-text);
    font-size: 1.4rem;
    line-height: 2rem;
    outline: none;
    transition: border-color 0.2s ease;
    border: 0;
    background: none;
}

.topics-search-input::placeholder {
    color: var(--gray-bold);
}

.topics-search-btn {
    height: 56px;
    padding: 0 24px;
    flex-shrink: 0;
    border: none;
    border-radius: 99px;
    background: var(--color-text);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.topics-search-field .warp-search {
    position: relative;
}

.topics-search-field .warp-search svg {
    position: absolute;
    left: 15px;
    top: 18px;
    z-index: 2;
}

.topics-search-filter .az {
    display: none;
}

.section-topics-list .row {
    margin-left: -20px;
    margin-right: -20px;
}

.section-topics-list .row > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 40px;
}

.topic-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid #EEEEEE;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    padding: 10px;
}

.topic-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--bg-light-hover);
    border-radius: 12px;
    text-decoration: none;
}

.topic-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: capitalize;
}

.topic-card-count {
    font-size: 12px;
    line-height: 1.8rem;
    color: var(--color-text);
}

.section-topics-list .topic-card .topic-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0 5px 5px;
}

.topic-card-latest {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
}

.topic-card-latest-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.topic-card-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-card-latest-content {
    min-width: 0;
}

.topic-card-latest-name {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    color: #3A464F;
}

.topic-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    margin-top: 16px;
    border-top: 1px solid #eeee;
    padding-top: 16px;
}

.topic-card-viewarticles {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}

.topic-card-viewarticles svg {
    transition: transform 0.2s ease;
}

.box-trending-topics {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 40px;
}

.box-trending-topics .trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box-trending-topics .trending-link {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: 16px;
    padding: 15px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.box-trending-topics .trending-rank {
    flex-shrink: 0;
    min-width: 20px;
    text-align: center;
    background: var(--bg-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 18px;
}

.box-trending-topics .trending-item:nth-child(2) .trending-rank {
    background: linear-gradient(93.79deg, #0972CE 1.77%, #43A3F7 97.2%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box-trending-topics .trending-item:nth-child(3) .trending-rank {
    background: none;
    -webkit-text-fill-color: #73BEFF;
}

.box-trending-topics .trending-item:nth-child(4) .trending-rank { opacity: 0.5; }

.box-trending-topics .trending-item:nth-child(n + 5) .trending-rank { opacity: 0.4; }

.box-trending-topics .trending-name {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.box-trending-topics .trending-count {
    flex-shrink: 0;
    margin-left: auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light-hover);
    color: var(--color-text);
    font-size: 14px;
}

.box-popular-blog-right-warp {
    margin-bottom: 30px;
}

.box-section-page-cap-02 {
    padding-top: 50px;
    padding-bottom: 80px;
}

.box-secton-topic-01 {
    background: linear-gradient(180deg, #DEEFFF 0%, #FFFFFF 104.59%);
    padding-top: 40px;
}

.box-topic-blogs-banner {
    padding: 45px;
    border-radius: 45px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.430464) 63.28%, rgba(255, 255, 255, 0.1) 100%);
}

.box-topic-blogs-banner .breadcrumbs-section {
    margin-bottom: 40px;
}

.box-topic-blogs-banner .dsc-section {
    max-width: 100%;
    font-weight: 600;
    color: var(--color-text);
}

.box-secton-topic-02 {
    padding: 80px 0;
}

.section-topics-list .topic-card .top {
    margin-bottom: 16px;
}

.section-topics-list .topic-card .topic-card-body .topic-card-center {
    border-top: 1px solid #eeee;
    padding-top: 16px;
}

@media (max-width:1299.98px) {
	.box-section-page-cap-02>.container>.row>div {
        flex: 0 0 100%;
        max-width: 100%;
    }

	.box-secton-topic-02 {
        padding: 40px 0 60px;
        overflow: hidden;
    }

.box-secton-topic-02>.container>.row>div:nth-child(1){
        margin-bottom: 60px;
    }

.box-secton-topic-01 {
        padding-top: 10px;
    }

.box-topic-blogs-banner {
        border-radius: 20px;
        padding: 15px;
    }

.box-topic-blogs-banner .breadcrumbs-section {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

.box-topic-blogs-banner .title-section {
        text-align: center;
    }

.box-topic-blogs-banner .dsc-section {
        text-align: center;
    }

.section-topics-list .row > [class*="col-"] {
        margin-bottom: 20px;
    }
}

@media (max-width:1023.99px) {
	.box-section-page-cap-02>.container>.row>div:first-child {
        margin-bottom: 60px;
    }

.box-popular-blog-right-warp {
    margin-bottom: 60px;
}
}

@media (max-width: 767.98px) {
	.box-section-page-cap-02 {
        padding-top: 50px;
        padding-bottom: 60px;
        overflow: hidden;
    }

.box-trending-topics {
        padding: 20px;
        border-radius: 16px;
    }

.box-trending-topics .trending-link {
        padding: 12px 16px;
        gap: 12px;
    }
}

@media (max-width: 767px) {
	.section-topics-head {
        flex-direction: column;
        align-items: stretch;
    }

.topics-search {
        width: 100%;
    }

.topics-search-field {
        flex: 1 1 auto;
        min-width: 0;
    }

.topic-card-name {
        font-size: 1.6rem;
    }
}