@media only screen and (min-width: 1500px) {
    .home .td-container,
    .home .tdc-row,
    .home .tdc-row-composer,
    .page-font-lists .container,
    .font-lists .container,
    .designers .container,
    .page-designers .container,
    .page-designers .td-container,
    .page-designers .tdc-row,
    .page-designers .tdc-row-composer,
    .page-font-collections .td-container,
    .page-font-collections .tdc-row,
    .page-font-collections .tdc-row-composer,
    .page-designers .header--row.layout-contained,
    .page-font-collections .header--row.layout-contained,
    .page-font-lists .header--row.layout-contained {
        width: 1440px;
    }
}
.my-pagination-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.my-pagination {
	display: flex;
	gap: 5px;
	padding: 12px 20px;
	border-radius: 12px;
}

.my-pagination a,
.my-pagination span {
    background-color: #36CAD1;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    margin: 2px;
}

.my-pagination a:hover {
	background-color: black;
}

.my-pagination .current {
	background-color: #222;
	color: #fff;
}

.my-pagination .dots {
	pointer-events: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    clear: both;
    display: table;
}

.designers img.img-loading,
.designers img.loading {
    margin: 0 auto;
    height: 90px;
    display: none;
}

.designers img.img-loading.active,
.designers img.loading.active {
    display: block;
}

.designers,
.designers .btn-load-more {
    margin: 0;
}

.designers .btn-load-more,
.font-lists .btn-load-more {
    margin-top: 20px;
    margin-bottom: 10px;
    border: transparent;
    background: #36CAD1;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 26px;
    line-height: 22px;
    color: #ffffff;
}

.designers .btn-load-more:hover,
.font-lists .btn-load-more:hover {
    background-color: #303030;
    border-color: #303030;
    outline: 0;
}

.designers .entry-content h2 {
    max-width: none !important;
    width: 100% !important;
    margin-top: 20px;
    line-height: 55px;
    margin-bottom: 30px;
    font-size: 3.5rem;
}

.designers .box {
    background-color: #f6f6f6;
    min-height: 50px;
    border-radius: 30px;
    padding: 20px;
    margin: 20px 0;
}

.designers-page .filter-bar {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
}

/* Tooltip cho dropdown filter ở page designers */
.designers .dropdown-menu li a {
  position: relative;
}

/* box tooltip */
.designers .dropdown-menu li a:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 999999;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* mũi tên tooltip */
.designers .dropdown-menu li a:hover::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 100%;
  margin-top: 2px;
  border: 6px solid transparent;
  border-bottom-color: #111;
}

.designers .dropdown-container,
.designers .dropdown-menu {
  overflow: visible !important;
}




.designers .dropdown-container.sortby-dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1rem;
    font-size: 12px;
    font-weight: 700;
}

.designers .dropdown-container .dropdown-toggle {
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

.designers .flex-center {
    display: flex;
    align-items: center;
}

.designers .caret {
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    padding: 0;
    margin-top: 3px;
}

.designers .dropdown-menu {
    user-select: none;
    position: absolute;
    left: -1rem;
    z-index: 100;
    min-width: 180px;
    padding: 5px 0;
    margin: .5rem 0 0;
    list-style: none;
    text-align: left;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    transition: opacity .3s;
    display: none;
}
/* Tooltip cho label hiện tại (Top All-Time bên ngoài) */
.designers .dropdown-toggle {
  position: relative;
}

.designers .dropdown-toggle:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 999999;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.designers .dropdown-toggle:hover::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 100%;
  margin-top: 2px;
  border: 6px solid transparent;
  border-bottom-color: #111;
}
.designers .dropdown-container,
.designers .dropdown-menu {
  overflow: visible !important;
}
.designers .dropdown-toggle:hover::after,
.designers .dropdown-toggle:hover::before {
  pointer-events: none;
}

.designers .dropdown-menu.active {
    display: block;
}

.designers .dropdown-menu > li {
    user-select: none;
    overflow: hidden;
    margin: 0 1rem;
    padding: .8rem 0;
    white-space: nowrap;
    cursor: pointer;
    color: #6C6C6C;
    border-bottom: 1px solid #F6F6F6;
}

.designers .dropdown-menu > li a:hover,
.designers .dropdown-menu > li a {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    color: #333;
}

.designers .dropdown-menu > li a span {
    float: right;
}

.designers .dropdown-menu > li a:hover,
.designers .dropdown-menu > li.active a {
    font-weight: 700;
}

.designers .dropdown-menu > li:last-child {
    border: none;
}

.designers .ml-auto {
    margin-left: auto;
}

.designers-page .filter-bar .search-input {
    max-width: 200px;
    transition: transform .2s ease;
    will-change: transform;
    transform: scale(1);
    position: relative;
}

.designers .search-input .search-icon {
    position: absolute;
    z-index: 2;
    left: 15px;
    color: #9C9C9C;
    pointer-events: none;
}

.designers svg {
    overflow: hidden;
    vertical-align: middle;
}

.designers .search-input .search-icon::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 80%;
    top: 10%;
    left: 25px;
    background: #e3e3e3;
}

.designers .search-input .search-box {
    border-radius: 12px;
    border: 0;
    line-height: 30px;
    padding: 4px 20px 4px 55px;
    background: #fff;
    color: #B3B3B3;
    font-size: 12px;
    font-weight: 600;
    max-width: 100%;
    transition: tranform .2s ease;
}

.designers .popular-artists .location-icon {
    display: inline-block;
    width: 15px;
    vertical-align: 1px;
}

.designers .popular-artists .artist-info {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    text-align: center;
    position: relative;
}

.artist-info .profile-card-inner {
    margin-top: 12px;
    font-size: 15px;

}

@media (min-width: 1024px) {
    .designers .popular-artists .artist-info {
        width: 15%;
        text-align: left;
    }

    .designers .popular-artists .artist-info .avatar {
        width: 60px;
        height: 60px;
        max-width: 100%;
        border-radius: 50%;
        object-fit: cover;
        display: inline-block;
        vertical-align: middle;
    }
}

@media (max-width: 1023px) {
    .designers .popular-artists .artist-info .avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        display: inline-block;
    }

    .designers .popular-artists .artist-info {
        width: 100%;
        text-align: center; 
        margin-bottom: 15px;
    }
}


/* Bố cục 2 cột cho mỗi artist */
.designers-page .single-artist{
  display:flex;
  align-items:flex-start;
  gap:24px;                /* khoảng cách 2 cột */
  clear:both;
}

/* Cột trái: profile card */
.designers-page .single-artist .artist-info.profile-card{
  max-width:260px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  float:none !important;
  margin:0;
}

/* Avatar nằm trên tiêu đề */
.designers-page .single-artist .artist-info.profile-card > a{
  display:block;
}
.designers-page .single-artist .artist-info.profile-card img.avatar{
  display:block;
  width:75px; height:75px;
  border-radius:50%;
  object-fit:cover;
  float:none !important;
}

/* Tiêu đề tên */
.designers-page .single-artist .artist-info.profile-card h5{
  margin:6px 0;
  line-height:1.3;
  display:flex;
  gap:6px;
  align-items:baseline;
  justify-content:center;
}

/* Dòng quốc gia & nút */
.designers-page .single-artist .artist-info.profile-card .artist-residence{
  margin-top:4px;
  display:flex; gap:6px; justify-content:center; align-items:center;
}
.designers-page .single-artist .artist-info.profile-card .profile-card-inner{
  margin-top:6px;
}

/* Cột phải: danh sách bài */
.designers-page .single-artist .artist-popular-items{
  flex:1 1 auto;           /* chiếm phần còn lại */
  min-width:0;             /* tránh tràn gây đẩy layout */
  float:none !important;   /* huỷ float cũ nếu có */
}

/* Responsive: khi màn hẹp thì xếp dọc */
@media (max-width: 768px){
  .designers-page .single-artist{
    flex-direction:column;
  }
  .designers-page .single-artist .artist-info.profile-card{
    max-width:none; width:100%;
  }
}



.designers .popular-artists .single-artist {
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    padding: 1.8rem 0 1.5rem;
}

.designers .popular-artists .artist-info .avatar,
.designers .popular-artists .artist-info .artist-avatar {
    border-radius: 100%;
    max-width: 75px;
	max-height: 75px;
}

@media (min-width: 1024px) {
    .designers .popular-artists .artist-info .avatar,
    .designers .popular-artists .artist-info .artist-avatar {
        display: inline-block;
        float: left;
        margin-right: 1rem;
    }
}

@media (max-width: 1023px) {
    .designers .popular-artists .artist-info .avatar,
    .designers .popular-artists .artist-info .artist-avatar {
        margin-left: auto;
        margin-right: auto;
    }
}

.designers .popular-artists .single-artist h5 {
    white-space: nowrap;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .designers .popular-artists .single-artist h5 {
        display: inline-block;
        padding-right: 10px;
        max-width: 322px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.designers .popular-artists .single-artist h5 a {
    color: #323232;
    text-decoration: none;
}

.designers .popular-artists .artist-info .artist-residence {
    color: #999;
    font-size: 11px;
    margin: .3rem 0;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .designers .popular-artists .artist-info .artist-residence {
        padding-right: 10px;
        margin: -.2rem 0 .2rem;
    }
}

.designers svg:not(:root) {
    overflow: hidden;
}

.designers .popular-artists .artist-popular-items {
    display: inline-block;
    width: 100%;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .designers .popular-artists .artist-popular-items {
        padding-left: 0;
        width: 75%;
        margin-top: 0;
        text-align: right;
        float: right;
    }
}

.designers .popular-artists .artist-popular-items ul {
    margin-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.designers .popular-artists .artist-popular-items ul li {
    display: inline-block;
    margin-right: .3rem;
    margin-bottom: .3rem;
    width: 47%;
    vertical-align: top;
    margin-left: 0;
}

.designers .artist-popular-items li a.post-title-link {
    display: block;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.designers .box-pagination {
    text-align: center;
}

.designers .box-pagination > * {
    background-color: #36CAD1;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    margin: 2px;
}

.designers .box-pagination > .current,
.designers .box-pagination > a:hover {
    background-color: #303030;
}

@media screen and (min-width: 500px) {
    .designers .popular-artists .artist-popular-items ul li {
        width: 48.4%;
    }
}

@media (min-width: 640px) {
    .designers .popular-artists .artist-popular-items ul li {
        width: 22.5%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1499px) {
    .designers .popular-artists .artist-popular-items ul li {
        width: 22%;
    }
}
/*
@media (min-width: 1024px) and (max-width: 1099px) {
    .designers .popular-artists .artist-popular-items ul li {
        width: 22%;
    }
}
*/
.designers .thumbnail-container {
    margin-bottom: 14px;
    box-shadow: 1px 1px 2px #e6e6e6;
    position: relative;
    overflow: hidden;
    background: #ccc;
    max-height: 245px;
    text-align: center;
}

@media (min-width: 1160px) {
    .designers .thumbnail-container {
        max-height: 180px;
    }
}

@media (max-width: 1159px) and (min-width: 1080px) {
    .designers .thumbnail-container {
        max-height: 120px;
    }
}

@media (max-width: 1079px) and (min-width: 1024px) {
    .designers .thumbnail-container {
        max-height: 110px;
    }
}

@media (max-width: 1023px) and (min-width: 975px) {
    .designers .thumbnail-container {
        max-height: 150px;
    }

    .designers .popular-artists .artist-popular-items ul li:not(:last-child) {
        margin-right: 2%;
    }

    .designers .popular-artists .artist-popular-items ul li {
        width: 23%;
    }
}

@media (max-width: 974px) and (min-width: 845px) {
    .designers .thumbnail-container {
        max-height: 130px;
    }

    .designers .popular-artists .artist-popular-items ul li:not(:last-child) {
        margin-right: 1%;
    }

    .designers .popular-artists .artist-popular-items ul li {
        width: 23.33%;
    }
}

@media (max-width: 844px) and (min-width: 550px) {
    .designers .thumbnail-container {
        max-height: 180px;
    }

    .designers .popular-artists .artist-popular-items ul li {
        width: 48%;
        margin-right: 2%;
    }

    .designers .popular-artists .artist-popular-items ul li:nth-child(even) {
        margin-right: 0;
    }

    .designers .popular-artists .artist-popular-items ul li:nth-child(odd) {
        clear: both;
    }

    .designers .container {
        max-width: 600px;
    }
}

@media (max-width: 549px) {
    .designers .popular-artists .artist-popular-items ul li {
        width: 100%;
        margin-left: 0;
    }

    .designers .thumbnail-container {
        max-height: none;
        width: 325px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .designers .container {
        max-width: 395px;
    }
}

.designers .thumbnail-container > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.designers .popular-artists .artist-popular-items .portfolio-link {
    font-weight: 700;
    float: right;
    color: #323232;
    font-size: 12px;
    z-index: 10;
    position: relative;
}

@media only screen and (max-width: 400px) {
    .designers .search-input .search-box {
        float: none;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .font-collections.designers-page .filter-bar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media only screen and (max-width: 900px) {
	.designers .popular-artists .artist-popular-items ul {
    margin-left: 0;
    list-style: none;
    margin-bottom: 0;
    }
}