/* ==========================================================================
   QR Agri & Food Consulting — Events page

   Loaded after style.css, responsive.css, category.css and contact.css.
   Reuses the same tokens, banner and form controls as the Category and
   Contact pages; only the Events-specific compositions live here.
   Class prefix: .ev-

   1. Events — the scheduled session cards
   2. Contact section
   3. Responsive
   ========================================================================== */


/* ==========================================================================
   1. Events
   ========================================================================== */

.ev-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 40px;
}

.ev-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.ev-head .section-title {
  margin-top: 10px;
}

.ev-head-text {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.ev-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ev-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 28px 28px;
}

.ev-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-700);
  background: var(--g-100);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
}

.ev-card-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--g-600);
}

.ev-card-title {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.ev-card-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Time and remaining places — the two facts a visitor scans for. */
.ev-card-facts {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 22px;
}

.ev-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
}

.ev-fact svg {
  flex: 0 0 auto;
  color: var(--g-700);
}

.ev-fact-time {
  font-weight: 600;
}

.ev-fact-places {
  color: var(--muted);
}

.ev-fact-places b {
  color: var(--ink);
  font-weight: 700;
}

/* Delivery mode and language, side by side above the button. */
.ev-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ev-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.ev-pill svg {
  color: var(--g-700);
}

.ev-card-foot {
  margin-top: auto;
}

.ev-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--g-600);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.ev-card-btn:hover {
  background: var(--g-700);
  color: var(--white);
  transform: translateY(-1px);
}


/* ==========================================================================
   2. Contact section
   ========================================================================== */

.ev-contact {
  background: var(--tint);
  border-top: 1px solid var(--line);
}

.ev-contact .ct-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* ==========================================================================
   3. Responsive
   ========================================================================== */

@media (max-width: 1440px) {
  .ev-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

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

@media (max-width: 900px) {
  .ev-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 760px) {
  .ev-section {
    padding: 56px 20px;
  }

  .ev-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ev-card-body {
    padding: 26px 22px 24px;
  }

  .ev-card-title {
    font-size: 21px;
  }
}
