.rudecontents-accordion {
  background: #f7f6f3;
  border-radius: 10px;
  padding: 1em 1.2em;
  font-family: sans-serif;
  margin: 1.5em 0;
  color: #222222;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
}

.rudecontents-heading {
  font-weight: 600;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #444;
}

.rudecontents-heading i {
  font-size: 1em;
  color: #a12e2e;
}

.rudecontents-close {
  position: absolute;
  top: 0.6em;
  right: 0.8em;
  background: none;
  border: none;
  color: #999;
  font-size: 1em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rudecontents-close:hover {
  color: #a12e2e;
}

.rudecontents-section + .rudecontents-section {
  margin-top: 0.5em;
}

.rudecontents-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #222222;
  text-decoration: none;
  padding: 0.6em 1em;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background 0.2s ease, transform 0.1s ease;
}

.rudecontents-item:hover {
  background: #ececec;
  transform: translateX(2px);
}

.rudecontents-item::after {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85em;
  color: #a12e2e;
}

.rudecontents-revive-inline {
  display: none;
  font-size: 0.85em;
  background: #ffffff;
  color: #222222;
  margin-bottom: 25px;
  padding: 0.4em 1em;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0.75em;
  transition: background 0.3s ease;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.rudecontents-revive-inline:hover {
  background: #e4e4e4;
}

.rudecontents-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75em;
}

.rudecontents-heading {
  font-weight: 600;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #444;
}

.rudecontents-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1em;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.2em 0.4em;
  margin-left: 1em;
  line-height: 1;
}

.rudecontents-close:hover {
  color: #a12e2e;
}


/* Responsive */
@media (max-width: 768px) {
  .rudecontents-accordion {
    padding: 0.8em 1em;
  }

  .rudecontents-heading {
    font-size: 0.95em;
    gap: 0.3em;
  }

  .rudecontents-item {
    font-size: 0.85em;
    padding: 0.5em 0.9em;
  }

  .rudecontents-item::after {
    font-size: 0.75em;
  }

  .rudecontents-revive-inline {
    font-size: 0.8em;
    padding: 0.35em 0.9em;
  }
}

@media (max-width: 480px) {
  .rudecontents-accordion {
    margin: 1em 0;
    padding: 0.7em 0.8em;
  }

  .rudecontents-heading {
    font-size: 0.9em;
  }

  .rudecontents-item {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
  }

  .rudecontents-revive-inline {
    font-size: 0.75em;
    padding: 0.3em 0.8em;
  }
}
