/* ============================================================
   WIP NOTICE · "section under construction" banner for the
   Primăria pages (primarie.html · en_primarie.html · de_primarie.html).
   Deliberately lighter than .eco-notice: this is an administrative
   status note, not a campaign, so it sits on chantilly with a deep
   essex-green accent rail instead of the dark forest banner.
   ============================================================ */

.wip-notice {
  padding: 32px 0;
}

.wip-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  border-radius: 4px;
  padding: 38px 44px;
  background: var(--chantilly-pure, #F7F6F1);
  border: 1px solid rgba(31, 45, 39, 0.16);
  border-left: 4px solid var(--essex, #1F2D27);
  box-shadow: var(--shadow-soft, 0 10px 26px rgba(31, 45, 39, 0.08));
}

.wip-notice-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(31, 45, 39, 0.06);
  border: 2px solid rgba(31, 45, 39, 0.22);
}

.wip-notice-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--essex-light, #2B3D34);
  fill: none;
}

.wip-notice-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}

.wip-eyebrow {
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--essex-light, #2B3D34);
}

.wip-title {
  margin: 0 0 14px;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: var(--essex, #1F2D27);
}

.wip-text {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-soft, #5C5A56);
}

.wip-kicker {
  margin: 16px 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--essex-light, #2B3D34);
}

/* Translations shown underneath the page-language copy, folded into
   <details> so they never compete with the primary text. */
.wip-trans {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 45, 39, 0.14);
}

.wip-trans + .wip-trans {
  margin-top: 12px;
  padding-top: 12px;
}

.wip-trans > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--essex-light, #2B3D34);
}

.wip-trans > summary::-webkit-details-marker { display: none; }

.wip-trans > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.wip-trans[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.wip-trans > summary:focus-visible {
  outline: 2px solid var(--essex, #1F2D27);
  outline-offset: 3px;
  border-radius: 2px;
}

.wip-trans-body {
  margin-top: 12px;
}

.wip-trans-body .wip-title {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.wip-trans-body .wip-text {
  font-size: 0.95rem;
  line-height: 1.72;
}

.wip-trans-body .wip-kicker {
  font-size: 0.95rem;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .wip-notice-inner { padding: 32px 32px; gap: 22px; }
  .wip-notice-body { max-width: none; }
}

@media (max-width: 680px) {
  .wip-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 22px;
  }
  .wip-notice-icon { width: 54px; height: 54px; }
  .wip-notice-icon svg { width: 27px; height: 27px; }
  .wip-title { font-size: 1.32rem; }
}

@media print {
  .wip-trans[open] > summary::after { display: none; }
  .wip-trans > summary { color: var(--text-soft, #5C5A56); }
  .wip-notice-inner { box-shadow: none; }
}
