/* Tabs */
.media-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.media-hub .select_container {
    width: 80px !important;
	margin-bottom: 10px;
}
.media-hub .select_container select, .media-tabs button {
    border: 0;
    cursor: pointer;
    color: #0F0F0F;
    font-family: "DM Sans";
    font-size: 14px;
    font-weight: 600;
}
.media-hub .select_container:after {
    color: #0F0F0F;
    right: -15px;
}

.media-tabs button {
    border: 1px solid #E7364D;
    border-radius: 30px;
    padding: 8px 40px;
    background: transparent;
    color: #E7364D;
    font-weight: 600;
	transition: all .3s ease-in-out;
}
.media-tabs button:hover {
    background: #e7364d;
    color: #fff;
}

.media-tabs button.active {
    background: #E7364D;
    color: #fff;
}

#media-year {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;  
  padding: 10px 25px 10px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
  cursor: pointer;
  min-width: 120px;
  background-size: 14px;
}
#media-year option {
  font-weight: 500;
    font-size: 12px;
    text-align: center;
}


/* Grid */
#media-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card */
#media-results .news-card {
    cursor: pointer;
/*     border: 2px solid #e94358; */
    border-radius: 8px;
	box-shadow: 0 0 10px 0 rgb(92 53 141 / 50%);
}

#media-results .news-card .news-thumb img {
    display: block;
    width: 100%;
    height: 231px;
    object-fit: cover;
	border-radius: 8px 8px 0px 0px;
}
#media-results .news-card[data-type="popup"] .news-thumb img {
    object-position: top;
}

/* Meta */
#media-results .news-card .news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #6B7280;
    margin: 15px 0 5px;
    padding: 0 12px;
}

#media-results .news-card .news-meta p {
    margin-bottom: 0;
}

#media-results .news-card .news-meta i {
    color: #E7364D;
    margin-right: 5px;
}

/* Load More */
.load-more {
    margin: 40px auto 0;
    display: block;
    padding: 11px 40px;
    border-radius: 30px;
    background: #E7364D;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'DM Sans';
    font-weight: 600;
}
.load-more:hover {
	background: rgb(233 67 88 / 75%) !important;
}
#mhf-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}


#mhf-load-more .btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-top-color: #e7364d;
  border-radius: 50%;
  display: none;
  animation: mhf-spin 0.8s linear infinite;
}

#mhf-load-more.loading {
  pointer-events: none;
  opacity: 0.7;
}

@keyframes mhf-spin {
  to { transform: rotate(360deg); }
}


@media (max-width: 767px) {
	#media-results {
		grid-template-columns: unset;
	}
	#media-results .news-card .news-meta {
		font-size: 12px;
	}
}

@media (max-width: 600px) {
	.media-tabs {
		flex-flow: column;
	}
	.media-tabs button {
		padding: 8px 20px;
	}
	#media-results .news-card .news-thumb img {
		height: 200px;
	}
}