/**
* Theme Name: Zeen Child
* Description: Zeen child theme.
* Author: Codetipi
* Template: zeen
* Version: 1.0.0
*/
.ace-opportunity-page {
  background: #f7f8fb;
  padding: 56px 20px;
  font-family: Inter, Arial, sans-serif;
}

.ace-opportunity-container {
  max-width: 1180px;
  margin: 0 auto;
}

.ace-opportunity-header {
  background: #ffffff;
  border-radius: 24px;
  padding: 42px;
  margin-bottom: 24px;
  border: 1px solid #e8eaf0;
}

.ace-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #2f6fed;
  margin-bottom: 12px;
}

.ace-opportunity-header h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  color: #151923;
}

.ace-summary {
  font-size: 18px;
  line-height: 1.7;
  color: #3d4452;
  max-width: 850px;
}

.ace-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.ace-info-card,
.ace-side-card,
.ace-section {
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  padding: 20px;
}

.ace-info-card span,
.ace-side-card span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 600;
}

.ace-info-card strong,
.ace-side-card strong {
  color: #151923;
  font-size: 16px;
  line-height: 1.5;
}

.ace-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.ace-main-content {
  display: grid;
  gap: 20px;
}

.ace-section h2 {
  font-size: 24px;
  margin: 0 0 14px;
  color: #151923;
}

.ace-section p,
.ace-section li {
  font-size: 16.5px;
  line-height: 1.75;
  color: #333b49;
}

.ace-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 24px;
}

.ace-badge {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.ace-badge.verified {
  background: #e9f7ef;
  color: #147a3c;
}

.ace-badge.competitive {
  background: #fff3e6;
  color: #a85300;
}

.ace-button {
  display: block;
  text-align: center;
  background: #151923;
  color: #ffffff !important;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ace-button.secondary {
  background: #eef2f7;
  color: #151923 !important;
}

@media (max-width: 800px) {
  .ace-opportunity-page {
    padding: 28px 14px;
  }

  .ace-opportunity-header {
    padding: 26px;
  }

  .ace-opportunity-header h1 {
    font-size: 32px;
  }

  .ace-main-layout {
    grid-template-columns: 1fr;
  }

  .ace-sidebar {
    position: static;
  }
}
/* ==================================================
   ARCHIVE OPPORTUNITES ACE - VERSION STABLE
================================================== */

.ace-archive-page {
  background: #f5f7fb;
  padding: 56px 20px;
  font-family: Inter, Arial, sans-serif;
}

.ace-archive-container {
  max-width: 1320px;
  margin: 0 auto;
}

.ace-archive-hero {
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 28px;
  padding: 44px;
  margin-bottom: 30px;
  box-shadow: 0 8px 28px rgba(16,24,40,0.04);
}

.ace-hero-badge {
  display: inline-block;
  background: #eef3ff;
  color: #3563ff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ace-archive-hero h1 {
  font-size: 42px;
  line-height: 1.12;
  margin: 0 0 14px;
  color: #101828;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.ace-archive-hero p {
  color: #667085;
  font-size: 17px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0;
}

.ace-filters-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ace-filter-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
  border: 1px solid #e4e7ec;
  box-shadow: 0 4px 14px rgba(16,24,40,0.04);
}

.ace-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ace-opportunity-card {
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16,24,40,0.06);
  display: flex;
  flex-direction: column;
}

.ace-card-image-link {
  display: block;
  height: 210px;
  background: #eef2f7;
  overflow: hidden;
}

.ace-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ace-card-placeholder {
  height: 210px;
  width: 100%;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
}

.ace-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ace-card-tag {
  display: inline-block;
  align-self: flex-start;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 999px;
  background: #3563ff;
  margin-bottom: 12px;
}

.ace-card-title {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 850;
}

.ace-card-title a {
  color: #101828;
  text-decoration: none;
}

.ace-card-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.ace-card-meta div {
  font-size: 13.5px;
  line-height: 1.45;
  color: #344054;
}

.ace-card-meta span {
  font-weight: 800;
  color: #101828;
}

.ace-card-button {
  display: block;
  text-align: center;
  background: #111827;
  color: #ffffff !important;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}

/* Couleurs par type */
.ace-type-bourse { background: #2563eb; }
.ace-type-fellowship { background: #7c3aed; }
.ace-type-stage { background: #16a34a; }
.ace-type-concours { background: #ea580c; }
.ace-type-postdoc { background: #991b1b; }
.ace-type-volontariat { background: #0d9488; }
.ace-type-leadership,
.ace-type-programme-de-leadership { background: #b45309; }
.ace-type-jeunes-diplomes,
.ace-type-programme-jeunes-diplomees-professionnelles { background: #4f46e5; }
.ace-type-conference,
.ace-type-conference-forum-international { background: #db2777; }
.ace-type-formation-courte { background: #475569; }
.ace-type-entrepreneuriat { background: #be123c; }

.ace-pagination {
  margin-top: 44px;
  text-align: center;
}

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

@media (max-width: 720px) {
  .ace-archive-page {
    padding: 28px 14px;
  }

  .ace-archive-hero {
    padding: 28px 22px;
  }

  .ace-archive-hero h1 {
    font-size: 32px;
  }

  .ace-opportunity-grid {
    grid-template-columns: 1fr;
  }
}
.ace-filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.ace-filters-form select {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  padding: 12px 16px;
  min-width: 160px;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}

.ace-filter-button,
.ace-filter-reset {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ace-filter-button {
  background: #111827;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.ace-filter-reset {
  background: #ffffff;
  color: #344054;
  border: 1px solid #e4e7ec;
}
.ace-filters-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ace-filters-form select {
  width: auto;
  min-width: 170px;
}

.ace-filter-button {
  background: #005072;
  border-color: #005072;
  color: #ffffff;
}

.ace-filter-button:hover {
  background: #003f5a;
  border-color: #003f5a;
}