/* css/informations.css — Page liste des articles / informations */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.info-hero {
  background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
  color: #fff;
  padding: 56px 5% 48px;
  text-align: center;
}
.info-hero h1 { font-size: 2.4rem; font-weight: 900; margin-bottom: 12px; }
.info-hero p  { font-size: 1.05rem; opacity: 0.9; max-width: 640px; margin: 0 auto; }
@media (max-width: 600px) { .info-hero h1 { font-size: 1.7rem; } }

/* ── Category sections ────────────────────────────────────────────────────── */
.cat-section { padding: 48px 5%; border-bottom: 1px solid var(--border); }
.page-content-wrapper + .cat-section { padding-top: 8px; }
.cat-section:last-child { border-bottom: none; }
.cat-section.section-alt { background: var(--gray-bg); }

.cat-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
}
.cat-thumb {
  width: 90px; height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: #fff;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cat-header-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.cat-header-text {
  flex: 1;
}
.cat-header-text p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}
.cat-see-all {
  flex-shrink: 0;
  align-self: center;
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
}
.cat-see-all:hover { background: var(--blue); color: #fff; }

/* ── Cat header RTL ───────────────────────────────────────────────────────── */
[dir=rtl] .cat-header-text { text-align: right; }
[dir=rtl] .cat-header-text h2 { text-align: right; }
[dir=rtl] .cat-section p { text-align: right; }

/* ── Mobile: CSS Grid — fonctionne en LTR et RTL sans order ──────────────── */
@media (max-width: 640px) {
  .cat-header {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 10px;
  }
  .cat-thumb {
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: start;
  }
  .cat-header-text {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
  }
  .cat-see-all {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    width: fit-content;
  }
  .cat-header-text h2 { font-size: 1.3rem; }
}

/* ── Breadcrumb — aligné sur category.css ─────────────────────────────────── */
.page-content-wrapper {
  padding: 0 5%;
}
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 18px 0 0;
  font-size: 0.83rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: var(--border); }
[dir='rtl'] .breadcrumb { text-align: right; }
