
.act-section { padding: 0 0 40px;}

.act-intro-box { background: #eaf4fb;
  border-left: 5px solid #2e7fc1;
  border-radius: 6px; padding: 18px 22px;
  margin-bottom: 24px; font-size: 15px;
  color: #1c2b3a; line-height: 1.6;}
.act-intro-box strong { color: #1a3a6b; }

.filter-bar { background: #fff; border: 1px solid #d0e4f2;
  border-radius: 8px; padding: 16px 20px; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;}
.filter-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap;}
.filter-group-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: #6e8a9e; white-space: nowrap; margin-right: 2px;}
.filter-sep { width: 1px; height: 28px; background: #d8e8f2; margin: 0 4px;}

.fbtn { border: 1.5px solid #c8dcec; background: #f5fafd;
  color: #3a5c78; border-radius: 20px; padding: 5px 14px;
  font-size: 13px; cursor: pointer; transition: all .18s;
  font-family: inherit; white-space: nowrap;}
.fbtn:hover { border-color: #2e7fc1; color: #2e7fc1; background: #eaf4fb; }
.fbtn.active { background: #2e7fc1; border-color: #2e7fc1; color: #fff; font-weight: 600; }

.price-toggle { display: flex; border: 1.5px solid #c8dcec; border-radius: 20px;
  overflow: hidden; background: #f5fafd;}
.price-toggle button { border: none; background: transparent; padding: 5px 15px;
  font-size: 13px; font-family: inherit; cursor: pointer; color: #3a5c78; transition: all .18s; white-space: nowrap;}
.price-toggle button + button { border-left: 1px solid #c8dcec; }
.price-toggle button.active-all  { background: #1a3a6b; color: #fff; font-weight: 700; }
.price-toggle button.active-free { background: #1e9e5e; color: #fff; font-weight: 700; }
.price-toggle button.active-paid { background: #c0581a; color: #fff; font-weight: 700; }

.search-wrap { margin-left: auto; position: relative; }
.search-wrap input { border: 1.5px solid #c8dcec;
  border-radius: 20px; padding: 6px 14px 6px 34px;
  font-size: 13.5px; font-family: inherit;
  outline: none; width: 190px;
  background: #f5fafd; color: #1c2b3a;
  transition: border-color .18s;}
.search-wrap input:focus { border-color: #2e7fc1; background: #fff; }
.search-icon { position: absolute; left: 11px; top: 50%;
  transform: translateY(-50%); font-size: 14px; opacity: .45; pointer-events: none;}

.stats-line {  font-size: 13px; color: #6e8a9e; margin-bottom: 16px; padding-left: 2px;}
.stats-line strong { color: #1a3a6b; font-size: 15px; }
.stats-line .free-count { color: #1e9e5e; font-weight: 700; }
.stats-line .paid-count { color: #c0581a; font-weight: 700; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px;}

.act-card { background: #fff; border: 1px solid #d8eaf5; border-radius: 10px; display: flex;
  flex-direction: column; overflow: hidden; transition: box-shadow .2s, transform .2s;}
.act-card:hover { box-shadow: 0 6px 24px rgba(30,58,107,.13); transform: translateY(-2px);}
.act-card-top { padding: 13px 15px 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; border-bottom: 1px solid #eef5fb;}

.cat-pill {font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 5px; padding: 3px 9px; white-space: nowrap;}
.cat-arts        { background: #f5e6ff; color: #7a1fa0; }
.cat-sciences    { background: #e2edff; color: #1040b0; }
.cat-histoire    { background: #fff0dd; color: #9a4500; }
.cat-nature      { background: #dff5eb; color: #0d6e3a; }
.cat-spectacles  { background: #ffe8e8; color: #a81020; }
.cat-jeux        { background: #fff5d0; color: #7a5800; }
.cat-litterature { background: #e6eaff; color: #1e2fa0; }

.price-pill { font-size: 12px; font-weight: 700;
  border-radius: 20px; padding: 3px 11px; white-space: nowrap; flex-shrink: 0;}
.price-pill.free { background: #d4f5e5; color: #0e6e38; border: 1px solid #a8e6c8; }
.price-pill.paid { background: #fde8d8; color: #a83500; border: 1px solid #f5c4a0; }

.act-card-body { padding: 11px 15px 12px; flex: 1; }
.act-card-body h3 { font-size: 14.5px; font-weight: 700; color: #1a2e40; margin-bottom: 9px; line-height: 1.4;}
.meta-list { display: flex; flex-direction: column; gap: 4px; }
.meta-row { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: #3d5a70;}
.meta-row .ico { flex-shrink: 0; margin-top: 1px; }
.meta-row .val { line-height: 1.4; }
.meta-row .val.price-text-free { color: #0e6e38; font-weight: 600; }
.meta-row .val.price-text-paid { color: #a83500; }

.act-card-foot {
  padding: 10px 15px;
  background: #f7fafd;
  border-top: 1px solid #eef5fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.age-txt { font-size: 12.5px; color: #5a7a90; }
.link-btn {
  display: inline-block;
  background: #2e7fc1;
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
}
.link-btn:hover { background: #1a3a6b; }
.link-btn.disabled { background: #dce8f0; color: #8aacbe; pointer-events: none; }

/* État vide */
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 50px 20px;
  color: #6e8a9e;
  font-size: 15px;
}
.empty-state .big { font-size: 2.8rem; margin-bottom: 10px; }

.articles-section {
  margin-top: 50px;
  padding-bottom: 10px;
}
.articles-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2e7fc1;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.article-card {
  background: #fff;
  border: 1px solid #d8eaf5;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.article-card:hover { box-shadow: 0 6px 24px rgba(30,58,107,.13); }
.article-card-thumb {
  background: linear-gradient(135deg, #1a3a6b 0%, #2e7fc1 100%);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.article-card-body { padding: 16px 18px; }
.article-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #2e7fc1;
  margin-bottom: 7px;
}
.article-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2e40;
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-card-body p {
  font-size: 13.5px;
  color: #4a6070;
  line-height: 1.55;
  margin-bottom: 14px;
}
.read-link {
  display: inline-block;
  background: #1a3a6b;
  color: #fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s;
}
.read-link:hover { background: #2e7fc1; }

@media (max-width: 700px) {
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .search-wrap { margin-left: 0; }
  .search-wrap input { width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}
