/* Gallery feeds: results header with the Sort by control */
.tmc-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 24px 18px}
.tmc-results-head h3{margin:20px 0!important}
/* signed-in buttons under the filters (My Favorites / Saved Searches): centered instead of floated right */
.form-group:has(> div > #btn-my-favorites){display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:8px 0 4px}
.form-group:has(> div > #btn-my-favorites) > p.clearfix{display:none}
.form-group:has(> div > #btn-my-favorites) > div{display:flex;justify-content:center;width:auto}
#btn-my-favorites,#savedsearcheslist{float:none!important}
.tmc-sort{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;color:#4b5563;white-space:nowrap}
.tmc-sort__select{height:40px;border:1px solid #cfd4da;border-radius:10px;background:#fff;color:#0b2340;font-size:14px;font-weight:700;padding:0 32px 0 12px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%230b2340' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;cursor:pointer}
.tmc-sort__select:hover{border-color:#0b2340}
@media (max-width:767px){.tmc-results-head{padding:6px 16px 18px}.tmc-results-head h3{margin:14px 0 4px!important;font-size:20px}.tmc-sort{width:100%}.tmc-sort__select{flex:1}}
