/* Le Cyri-Lien — components.css */
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo {
  display: block;
  width: min(360px, 100%);
  max-height: 102px;
  object-fit: contain;
  object-position: left center;
}
.nav-wrap {
  margin-left: auto;
  position: relative;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nav-panel[hidden] {
  display: none;
}
.nav-link {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
}
.nav-link:hover,
.nav-link.is-active {
  background: var(--panel-2);
  color: #42685a;
  text-decoration: none;
}
.nav-link.is-active {
  box-shadow: inset 0 -3px var(--lime);
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.nav-toggle-bars::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  border-top: 2px solid currentColor;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--accent);
  color: #25251e;
}
.btn-primary:hover {
  background: #f67f2a;
}
.btn-ghost {
  background: #fff;
  border-color: var(--green);
  color: #345549;
}
.btn-ghost:hover {
  background: var(--panel-2);
}
.card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-body {
  padding: 1.1rem;
}
.card-media {
  display: block;
  overflow: hidden;
  background: var(--panel-2);
}
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.issues-panel {
  margin-bottom: 2rem;
}
.issues-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.2rem;
}
.about-year {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.about-year__label {
  font-weight: 700;
}
.about-year__select select {
  min-height: 44px;
  padding: 0.55rem 2rem 0.55rem 0.8rem;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.issue-card {
  display: flex;
  flex-direction: column;
}
.issue-cover {
  aspect-ratio: 3 / 4;
  padding: 0.65rem;
  border-bottom: 1px solid var(--border);
  background: #f4f7f3;
}
.issue-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.issue-cover.is-fallback img {
  padding: 1rem;
}
.issue-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.issue-month {
  margin: 0;
  font: 700 1.25rem/1.25 var(--serif);
}
.issue-title {
  margin: 0.35rem 0 0;
  color: var(--muted);
}
.issue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
}
.issue-actions .btn {
  flex: 1 1 auto;
  font-size: 0.9rem;
  padding-inline: 0.75rem;
}
.site-footer {
  padding: 2rem 0 1.2rem;
  border-top: 4px solid var(--lime);
  background: #eaf1ec;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  margin: 0 0 0.3rem;
  font: 700 1.15rem var(--serif);
}
.footer-muted {
  margin: 0;
  color: var(--muted);
}
.footer-inner a:hover,
.footer-links a:hover {
  color: #a45117;
}
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #cad9ce;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
}
/* ==========================================
   ACCUEIL — DATES IMPORTANTES
   ========================================== */

.deadlines-section {
  background: #fff;
}

.deadlines-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.deadlines-kicker {
  margin: 0 0 0.35rem;
  color: #42685a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deadlines-intro {
  max-width: 720px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.deadlines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.deadline-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deadline-card-header {
  padding: 1rem 1.15rem;
  background: linear-gradient(
    135deg,
    rgba(204, 214, 130, 0.25),
    rgba(163, 193, 206, 0.2)
  );
  border-bottom: 1px solid var(--border);
}

.deadline-edition-label {
  margin: 0 0 0.2rem;
  color: #42685a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deadline-edition {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.deadline-card-body {
  display: grid;
}

.deadline-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
}

.deadline-item + .deadline-item {
  border-top: 1px solid var(--border);
}

.deadline-item-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.deadline-item-date {
  color: #345549;
  font-size: 1.05rem;
}

.deadlines-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
