/* DONEO24 editorial current-updates feed. No autoplay or forced scrolling. */
body.design-modern .current-updates-preview {
  margin: 0 0 2.5rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--modern-line);
  border-radius: 1.2rem;
  background: var(--modern-surface);
  box-shadow: 0 10px 30px rgba(16, 35, 42, 0.045);
}

body.design-modern .current-updates-preview__header,
body.design-modern .current-updates-feed__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

body.design-modern .current-updates__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--modern-teal);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.design-modern .current-updates-preview h2,
body.design-modern .current-updates-feed h2,
body.design-modern .current-updates-policy h2 {
  margin: 0;
}

body.design-modern .current-updates-preview__header p:not(.current-updates__eyebrow) {
  max-width: 52rem;
  margin: 0.45rem 0 0;
}

body.design-modern .current-updates__text-link {
  flex: 0 0 auto;
  color: var(--modern-teal-dark);
  font-weight: 800;
  text-decoration: none;
}

body.design-modern .current-updates__text-link:hover,
body.design-modern .current-updates__text-link:focus-visible {
  text-decoration: underline;
}

body.design-modern .current-updates-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

body.design-modern .current-updates-feed__list {
  display: grid;
  gap: 1rem;
}

body.design-modern .current-update-card {
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  border: 1px solid var(--modern-line);
  border-radius: 1.1rem;
  background: var(--modern-surface);
  box-shadow: 0 10px 30px rgba(16, 35, 42, 0.045);
}

body.design-modern .current-update-card--preview {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.design-modern .current-update-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--modern-muted);
  font-size: 0.78rem;
}

body.design-modern .current-update-card__meta time {
  white-space: nowrap;
}

body.design-modern .current-update-card__category {
  max-width: 70%;
  overflow: hidden;
  color: var(--modern-teal-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.design-modern .current-update-card h3 {
  margin: 0.85rem 0 0.5rem;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.15;
}

body.design-modern .current-update-card p {
  margin: 0;
  line-height: 1.65;
}

body.design-modern .current-update-card__summary {
  color: var(--modern-ink) !important;
  font-weight: 650;
}

body.design-modern .current-update-card__body {
  margin-top: 0.8rem !important;
}

body.design-modern .current-update-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

body.design-modern .current-update-card--preview .current-update-card__action {
  margin-top: auto;
  padding-top: 1rem;
}

body.design-modern .current-update-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--modern-teal-dark);
  font-weight: 850;
  text-decoration: none;
}

body.design-modern .current-update-card__action:hover,
body.design-modern .current-update-card__action:focus-visible {
  text-decoration: underline;
}

body.design-modern .current-update-card__action--primary {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--modern-teal);
  border-radius: 0.75rem;
  color: #fff;
  background: var(--modern-teal);
  text-decoration: none;
}

body.design-modern .current-update-card__action--primary:hover,
body.design-modern .current-update-card__action--primary:focus-visible {
  color: #fff;
  background: var(--modern-teal-dark);
  text-decoration: none;
}

body.design-modern .current-update-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--modern-line);
  color: var(--modern-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

body.design-modern .current-update-card__footer a {
  color: var(--modern-teal-dark);
  font-weight: 750;
}

body.design-modern .current-updates-feed {
  margin-top: 1.5rem;
}

body.design-modern .current-updates-feed__count {
  margin: 0;
  color: var(--modern-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

body.design-modern .current-updates-empty,
body.design-modern .current-updates-policy {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--modern-line);
  border-radius: 1.1rem;
  background: #fbfefd;
}

body.design-modern .current-updates-empty h3 {
  margin-top: 0;
}

body.design-modern .current-updates-policy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

body.design-modern .current-updates-policy p {
  line-height: 1.65;
}

body.design-modern .current-updates-integrations {
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--modern-mint);
}

body.design-modern .current-updates-integrations h3 {
  margin-top: 0;
}

body.design-modern .current-updates-integrations ul {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

body.design-modern .current-updates-integrations li {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(15, 118, 110, 0.18);
}

body.design-modern .current-updates-integrations li:first-child {
  padding-top: 0;
  border-top: 0;
}

body.design-modern .current-updates-integrations li span {
  color: var(--modern-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body.design-modern .current-updates-preview__header,
  body.design-modern .current-updates-feed__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.design-modern .current-updates-preview__grid,
  body.design-modern .current-updates-policy {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.design-modern .current-update-card__action,
  body.design-modern .current-updates__text-link {
    transition: none;
  }
}
