/* Content Styles */
.additional-content {
    margin: 0;
}

.content-section {
    background: white;
    padding: 20px;
    margin: 0;
    position: relative;
}

.content-section:hover .delete-btn,
.content-section:hover .add-btn {
    opacity: 1;
}

.content-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-section h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.content-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.content-section h5 {
    color: #333;
    font-size: 1.1rem;
    margin: 18px 0 10px 0;
    font-weight: 600;
}

.content-section h6 {
    color: #333;
    font-size: 1rem;
    margin: 15px 0 8px 0;
    font-weight: 600;
}

.content-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.content-section ul,
.content-section ol {
    margin: 15px 0;
    padding-left: 25px;
    color: #555;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-table th {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-container {
    text-align: center;
    margin: 20px 0;
}

.image-caption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.content-section-wrapper {
  position: relative;
  margin: 20px 0;
}

.hover-add-buttons {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
}

.add-btn-top,
.add-btn-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.add-btn-top:hover,
.add-btn-bottom:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}

.add-btn-top { top: -14px; }
.add-btn-bottom { bottom: -14px; }
