/* EC EVENTS HUB V1 */
.ec-hub {
  direction: rtl;
  color: #20314b;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
.ec-hub *, .ec-hub *::before, .ec-hub *::after {
  box-sizing: border-box;
}
.ec-hub-hero {
  background: linear-gradient(125deg,#087fc2,#079d98);
  color: #fff;
  border-radius: 20px;
  padding: 35px 28px;
  margin: 20px 0 24px;
  box-shadow: 0 14px 36px rgba(5,99,145,.13);
}
.ec-hub-hero h1 {
  color: #fff;
  font-size: clamp(23px,3vw,35px);
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 12px;
}
.ec-hub-hero p {
  color: #fff;
  opacity: .96;
  font-size: 15px;
  line-height: 2;
  margin: 0;
}
.ec-hub-section {
  background: #fff;
  border: 1px solid #e3edf5;
  border-radius: 18px;
  padding: 23px;
  margin: 20px 0 28px;
  box-shadow: 0 9px 28px rgba(24,51,82,.045);
}
.ec-hub-section h2 {
  color: #193450;
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 10px;
}
.ec-hub-subtitle {
  color: #66778e;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.ec-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}
.ec-hub-toolbar input,
.ec-hub-toolbar select {
  min-height: 46px;
  border: 1px solid #d6e3ee;
  background: #f8fbfe;
  color: #253a55;
  border-radius: 11px;
  padding: 9px 13px;
  font: inherit;
  font-size: 14px;
}
.ec-hub-toolbar input {
  flex: 2 1 240px;
}
.ec-hub-toolbar select {
  flex: 1 1 160px;
}
.ec-hub-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 17px;
}
.ec-hub-card {
  border: 1px solid #e2eaf3;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 5px 15px rgba(24,51,82,.04);
  transition: transform .2s, box-shadow .2s;
}
.ec-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(24,51,82,.11);
}
.ec-hub-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #eaf3f8;
  display: block;
}
.ec-hub-image-empty {
  height: 185px;
  background: linear-gradient(135deg,#e5f4fb,#d6eee9);
  display: grid;
  place-items: center;
  color: #437489;
  font-weight: 700;
}
.ec-hub-card-body {
  padding: 17px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ec-hub-tag {
  color: #087e9b;
  font-size: 12px;
  font-weight: 700;
}
.ec-hub-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
  color: #1e3550;
  margin: 0;
}
.ec-hub-meta {
  color: #62758c;
  font-size: 13px;
  line-height: 1.9;
}
.ec-hub-action {
  display: block;
  text-align: center;
  background: linear-gradient(110deg,#0284c7,#0f8f84);
  color: #fff !important;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  margin-top: auto;
}
.ec-hub-action:hover {
  filter: brightness(.95);
}
.ec-hub-status {
  background: #f1f7fb;
  border-radius: 12px;
  color: #536b82;
  padding: 20px;
  line-height: 1.9;
}
.ec-hub-note {
  font-size: 12px;
  color: #708096;
  line-height: 1.9;
  margin-top: 15px;
}
@media(max-width:991px) {
  .ec-hub-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px) {
  .ec-hub-hero {padding:24px 18px;border-radius:15px}
  .ec-hub-section {padding:17px 13px;border-radius:15px}
  .ec-hub-section h2 {font-size:19px}
  .ec-hub-grid {grid-template-columns:1fr}
  .ec-hub-image,.ec-hub-image-empty {height:210px}
  .ec-hub-toolbar {flex-direction:column}
  .ec-hub-toolbar input,.ec-hub-toolbar select {flex:auto;width:100%}
}