.prenoms-dual {
  display: flex;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: flex-start;
}
.x-padded {
  padding: 40px 30px;
}

.prenoms-dual .pleft {
  flex: 2;
  min-width: 0;
}

.prenoms-dual .pright {
  flex: 1;
  min-width: 300px;
  position: sticky;
  top: 20px;
}

/* Aside content styling */
.aside-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.aside-section:last-child {
  margin-bottom: 0;
}

.aside-section .section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #1C1C1E;
}

.aside-section .section-description {
  font-size: 14px;
  line-height: 1.5;
  color: #6c757d;
  margin-bottom: 16px;
}

.aside-section .cta-buttons {
  display: flex;
  gap: 0.7rem;
}
.aside-section .cta-buttons .reg-btn {
  flex: 50%;
  padding: 0;
}

.aside-section .related-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-section .related-links li {
  margin-bottom: 8px;
}

.aside-section .related-links li:last-child {
  margin-bottom: 0;
}

.aside-section .related-links a {
  color: #9D9FE5;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.aside-section .related-links a:hover {
  border-bottom-color: #9D9FE5;
}

/* Article content styling */
.article-header {
  margin-bottom: 30px;
}

.article-title {
  font-size: 32px;
  font-weight: bold;
  color: #1C1C1E;
  margin-bottom: 30px;
  line-height: 1.2;
}

.article-cover {
  margin-bottom: 20px;
}

.cover-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content {
  line-height: 1.6;
}
.article-content p {
  white-space: pre-wrap;
}

.intro-text {
  margin-bottom: 40px;
}

.intro-text p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.names-list {
  margin-bottom: 40px;
}

.names-list h2 {
  font-size: 24px;
  font-weight: bold;
  color: #1C1C1E;
  margin-bottom: 24px;
  border-bottom: 2px solid #9D9FE5;
  padding-bottom: 8px;
}

.name-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.name-card:last-child {
  margin-bottom: 0;
}

.name-title {
  font-size: 20px;
  font-weight: bold;
  color: #1C1C1E;
  margin-bottom: 12px;
}

.name-characteristics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.name-characteristics span {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.origin {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}

.meaning {
  background: #f0f9ff !important;
  color: #0284c7 !important;
}

.popularity {
  background: #fef3c7 !important;
  color: #d97706 !important;
}

.name-description {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.conclusion-text {
  background: #f8fafc;
  border-left: 4px solid #9D9FE5;
  padding: 24px;
  border-radius: 0 12px 12px 0;
}

.conclusion-text h2 {
  font-size: 20px;
  font-weight: bold;
  color: #1C1C1E;
  margin-bottom: 16px;
}

.conclusion-text p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}

.conclusion-text p:last-child {
  margin-bottom: 0;
}

.conclusion-text a {
  color: #9D9FE5;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.conclusion-text a:hover {
  border-bottom-color: #9D9FE5;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .prenoms-dual {
    flex-direction: column;
    gap: 24px;
  }
  .x-padded {
    padding: 20px 15px;
  }
  
  .prenoms-dual .pright {
    position: static;
    min-width: 0;
  }
  
  .aside-section {
    padding: 20px;
  }

  .article-title {
    font-size: 28px;
  }

  .cover-image {
    height: 200px;
  }

  .intro-text p {
    font-size: 15px;
  }

  .names-list h2 {
    font-size: 20px;
  }

  .name-card {
    padding: 20px;
  }

  .name-characteristics {
    gap: 8px;
  }

  .name-characteristics span {
    font-size: 11px;
    padding: 3px 6px;
  }

  .conclusion-text {
    padding: 20px;
  }
}

@media screen and (max-width: 540px) {
  .x-padded {
    padding: 15px;
  }

  
  .aside-section {
    padding: 16px;
  }
  
  .aside-section .section-title {
    font-size: 16px;
  }

  .article-title {
    font-size: 24px;
  }

  .cover-image {
    height: 180px;
  }

  .intro-text p {
    font-size: 14px;
  }

  .names-list h2 {
    font-size: 18px;
  }

  .name-card {
    padding: 16px;
  }

  .name-title {
    font-size: 18px;
  }

  .conclusion-text {
    padding: 16px;
  }

  .conclusion-text h2 {
    font-size: 18px;
  }
}
