.hs-knowledge-tabs-wrapper {
    padding: 0px 0 70px;
    color: #fff;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.hs-knowledge-tabs-wrapper.hs-loading::after {
    content: 'Loading...';
    position: absolute;
    inset: 0;
    background: rgba(5,5,16,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
} 

/* Top bar: tabs + search */
.hs-tabs-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 50px;
    border-bottom: 1px solid #272733;
}

/* Tabs */
.hs-tabs {
    display: inline-flex;
    gap: 10px;
}

.hs-tab-button {    
    border: 1px solid #272733;
    background: transparent;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0px;
}
button.hs-tab-button:hover {
    background: #ff2ea3;
    border: 1px solid #ff2ea3;
}

.hs-tab-button.active {
    background: #ff2ea3;
    border: 1px solid #ff2ea3;
    color: #fff;
}



/* Search */
.hs-tabs-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hs-search-form {
    position: relative;
}

.hs-search-input {
	background: transparent;
    border: 1px solid #272733 !important;
	padding: 10px 22px !important;
    border-radius: 8px 8px 0 0 !important;
	color: #fff;
    font-family: Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0px;
    min-width: 240px;
}

.hs-search-input::placeholder {
    color: #fff;
}

.hs-search-form svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    fill: #fff;
}

/* Grid */
.hs-articles-results {
    margin-top: 18px;
}

.hs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 30px;
}

@media (max-width: 1024px) {
    .hs-cards-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .hs-cards-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .hs-tabs-header {
        align-items: flex-start;
    }
}

/* Card */
.hs-card {
    background: #050509;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #272733;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,0.75);
}

/* Thumbnail */
.hs-card-thumb {
    position: relative;
    padding: 16px 16px 0;
}

.hs-card-thumb img {
    width: 100%;
    height: 255px !important;
    border-radius: 16px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hs-card:hover .hs-card-thumb img {
    transform: scale(1.04);
}

/* Body */
.hs-card-body {
    padding: 30px 21px 30px 32px;
    display: flex;
    flex-direction: column;
}

/* Tag pills row */
.hs-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    padding-bottom: 40px;
}

.hs-tag-pill {
    background: #ffffff;
    color: #000;
    border-radius: 50px;
    padding: 12px 15px;
    font-family: Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Title */
h3.hs-card-title {
    margin-top: 0;
    margin-bottom: 24px;
}

.hs-card-title a {
    color: #fff !important;
    font-family: Poppins;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
}

/* Meta row (date + read time) */
.hs-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #babacf;
    margin-top: 4px;
}

.hs-meta-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hs-meta-left span.custom-date {
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #ffffff;
}

.hs-meta-left svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
}

/* Excerpt */
.hs-card-excerpt {
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #fff;
}

/* Footer: Read link + time (again, like design) */
.hs-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #27d2ff;
    font-weight: 600;
}
.hs-card-link span.cust-read-more {
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.4px;
    vertical-align: middle;
    color: #3CAEEE;
}

.hs-read-time{
    display:flex;
    align-items:center;
    gap:11px;
}

.hs-read-time p.cust-time {
    margin-bottom: 0;
    font-family: Poppins;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.hs-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Pagination Wrapper */
.hs-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    margin-top:80px;
}

/* Common button style */
.hs-pagination .page-numbers{
    width:56px;
    height:56px;
    border-radius:50%;
    border:1px solid #2a2a2a;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#ffffff;
    font-size:16px;
    transition:all 0.3s ease;
    background:transparent;
}

/* Hover */
.hs-pagination .page-numbers:hover{
    border-color:#3caeee;
    color:#3caeee;
}

/* ACTIVE PAGE */
.hs-pagination .page-numbers.current{
    background:#3caeee;
    color:#fff;
    border-color:#3caeee;
    font-weight:600;
}

/* Arrow buttons */
.hs-pagination .prev,
.hs-pagination .next{
    font-size:0;
}

/* Arrow icons */
.hs-pagination .hs-pagination-icon{
    width:18px;
    height:18px;
}

/* Optional: hover effect for arrows */
.hs-pagination .prev:hover,
.hs-pagination .next:hover{
    border-color:#3caeee;
}

.hs-empty {
    margin-top: 20px;
    text-align: center;
    color: #a0a0cf;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .hs-tabs-header {
/*         flex-direction: column;
        align-items: flex-start; */
        gap: 12px;
    }
}
@media (max-width: 767px) {

    /* Stack layout */
    .hs-tabs-header {
        flex-direction: column;
        align-items: stretch;
    }

    /* Tabs full width */
    .hs-tabs {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    /* Each tab = 50% */
    .hs-tab-button {
        flex: 1;
        width: 50%;
        text-align: center;
    }

    /* Controls full width */
    .hs-tabs-controls {
        width: 100%;
    }

    .hs-search-form {
        width: 100%;
    }

    .hs-search-input {
        width: 100%;
        min-width: unset;
    }
	
	.hs-pagination .page-numbers {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
	.hs-pagination .hs-pagination-icon {
		width: 14px;
		height: 14px;
	}
}