.ckc-notices {
  --ckc-notices-vert: #8cc165;
  --ckc-notices-vert-hover: #6fa34e;
  --ckc-notices-noir: #111111;
  --ckc-notices-gris: #6e6e6e;
  --ckc-notices-border: #d4d4d4;
  --ckc-notices-fond: #fafafa;
  font-family: "Open Sans", sans-serif;
  color: var(--ckc-notices-noir);
  background:
    radial-gradient(circle at 100% 0, rgba(140, 193, 101, 0.16), transparent 32%),
    var(--ckc-notices-fond);
  border-radius: 20px;
  padding: 32px 24px 40px;
}

.ckc-notices * { box-sizing: border-box; }

.ckc-notices__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ckc-notices__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 280px);
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.ckc-notices__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ckc-notices-vert);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ckc-notices__kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--ckc-notices-vert);
}

.ckc-notices h1 {
  margin: 0 0 16px;
  color: var(--ckc-notices-noir);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: left;
}

.ckc-notices__intro p {
  margin: 0;
  max-width: 640px;
  color: var(--ckc-notices-gris);
  font-size: 18px;
  line-height: 1.5;
}

.ckc-notices__visual {
  justify-self: end;
  width: min(100%, 280px);
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(140, 193, 101, 0.16);
}

.ckc-notices__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.ckc-notices__toolbar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(140, 193, 101, 0.16);
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.ckc-notices__row,
.ckc-notices__chips,
.ckc-notices__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ckc-notices__search {
  position: relative;
  flex: 1 1 260px;
}

.ckc-notices__search input {
  width: 100%;
  height: 52px;
  border-radius: 120px;
  border: 1px solid var(--ckc-notices-border);
  padding: 0 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ckc-notices-noir);
  background: var(--ckc-notices-fond);
}

.ckc-notices__search input:focus {
  outline: 2px solid rgba(140, 193, 101, 0.45);
  border-color: var(--ckc-notices-vert);
  background: #fff;
}

.ckc-notices__count {
  margin: 0 0 0 auto;
  color: var(--ckc-notices-gris);
  font-size: 14px;
  font-weight: 600;
}

.ckc-notices__pill,
.ckc-notices__chip {
  border: 1px solid var(--ckc-notices-border);
  background: #fff;
  color: var(--ckc-notices-vert);
  border-radius: 120px;
  min-height: 40px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ckc-notices__switch {
  background: var(--ckc-notices-fond);
  border-radius: 120px;
  padding: 4px;
}

.ckc-notices__switch .ckc-notices__pill {
  border: 0;
  background: transparent;
}

.ckc-notices__pill[aria-pressed="true"],
.ckc-notices__chip[aria-pressed="true"] {
  background: var(--ckc-notices-vert);
  border-color: var(--ckc-notices-vert);
  color: #fff;
}

.ckc-notices__pill:hover,
.ckc-notices__chip:hover { border-color: var(--ckc-notices-vert); }

.ckc-notices__pill:focus-visible,
.ckc-notices__chip:focus-visible,
.ckc-notices__btn:focus-visible {
  outline: 2px solid var(--ckc-notices-vert);
  outline-offset: 2px;
}

.ckc-notices__group { margin-top: 28px; }

.ckc-notices__group h2 {
  margin: 0 0 14px;
  color: var(--ckc-notices-noir);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
}

.ckc-notices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ckc-notices__card {
  background: #fff;
  border: 1px solid var(--ckc-notices-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 196px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ckc-notices__card:hover {
  border-color: var(--ckc-notices-vert);
  box-shadow: 0 8px 24px rgba(140, 193, 101, 0.16);
  transform: translateY(-2px);
}

.ckc-notices__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ckc-notices__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ckc-notices-vert);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ckc-notices__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 120px;
  background: rgba(140, 193, 101, 0.16);
  color: #4d7a2e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ckc-notices__card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.ckc-notices__card p {
  margin: 6px 0 0;
  color: var(--ckc-notices-gris);
  font-size: 14px;
  line-height: 1.4;
}

.ckc-notices__actions { margin-top: auto; }

.ckc-notices__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 120px;
  background: var(--ckc-notices-vert);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.ckc-notices__btn:hover {
  background: var(--ckc-notices-vert-hover);
  color: #fff;
}

.ckc-notices__btn--missing,
.ckc-notices__btn--missing:hover {
  background: transparent;
  color: var(--ckc-notices-gris);
  border: 1px solid var(--ckc-notices-border);
  cursor: default;
}

.ckc-notices__empty {
  background: #fff;
  border: 1px dashed var(--ckc-notices-border);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
}

.ckc-notices__empty h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.ckc-notices__empty p {
  margin: 0;
  color: var(--ckc-notices-gris);
}

.ckc-notices__card[hidden],
.ckc-notices__group[hidden],
.ckc-notices__empty[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .ckc-notices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .ckc-notices { padding: 24px 16px 32px; }
  .ckc-notices__intro { grid-template-columns: 1fr; }
  .ckc-notices__visual { justify-self: start; }
  .ckc-notices__grid { grid-template-columns: 1fr; }
  .ckc-notices__count { margin-left: 0; }
  .ckc-notices h1 { font-size: 34px; }
}
