/**
 * Wrestler Description/Biography Section Styles
 * Upload to: /wp-content/themes/extendable-child/wrestler-description.css
 * Version: 1.0.0
 */

/* ================== WRESTLER DESCRIPTION SECTION ================== */

/* Section wrapper */
.wrestler-description-section {
  margin: -20px 0 30px;
  font-family: 'sofia-sans', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* Main container */
.wrestler-description-container {
  background-color: #121921;
  border-radius: 10px;
  margin-top:20px;
  overflow: hidden;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
}

/* Header section */
.wrestler-description-header {
  display: block;
  width: 100%;
  background-color: #121921 ;
  padding-top: .8rem;
  padding-bottom: .5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wrestler-description-title {
  font-family: 'sofia-sans', sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E4DCD6;
  margin: 0;
}

/* Content area */
.wrestler-description-content {
  padding: 24px;
  background-color: #121921;
  color: #E4DCD6;
  font-family: 'sofia-sans', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Typography for WYSIWYG content */
.wrestler-description-content p {
  margin: 0 0 1.5rem 0 !important;
  line-height: 1.5;
  color: #E9ECF2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.wrestler-description-content p:first-child {
  margin-top: 0 !important;
}

.wrestler-description-content p:last-child {
  margin-bottom: 0 !important;
}

.wrestler-description-content h1,
.wrestler-description-content h2,
.wrestler-description-content h3,
.wrestler-description-content h4,
.wrestler-description-content h5,
.wrestler-description-content h6 {
  color: #CEE5F2;
  margin: 1.5rem 0 1rem 0;
  font-family: 'sofia-sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.wrestler-description-content h1:first-child,
.wrestler-description-content h2:first-child,
.wrestler-description-content h3:first-child,
.wrestler-description-content h4:first-child,
.wrestler-description-content h5:first-child,
.wrestler-description-content h6:first-child {
  margin-top: 0;
}

.wrestler-description-content h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wrestler-description-content h3 {
  font-size: 20px;
}

.wrestler-description-content h4 {
  font-size: 18px;
}

/* Lists */
.wrestler-description-content ul,
.wrestler-description-content ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  color: #E9ECF2;
}

.wrestler-description-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.wrestler-description-content li:last-child {
  margin-bottom: 0;
}

/* Links */
.wrestler-description-content a {
  color: #E6C97F;
  text-decoration: none;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.wrestler-description-content a:hover {
  color: #B6C0EB;

}

/* Strong and emphasis */
.wrestler-description-content strong,
.wrestler-description-content b {
  color: #CEE5F2;
  font-weight: 600;
}

.wrestler-description-content em,
.wrestler-description-content i {
  font-style: italic;
  color: #E9ECF2;
}

/* Blockquotes */
.wrestler-description-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #E6C97F;
  background-color: rgba(230, 201, 127, 0.05);
  border-radius: 4px;
  color: #E9ECF2;
  font-style: italic;
}

.wrestler-description-content blockquote p {
  margin: 0;
}

/* Code elements */
.wrestler-description-content code {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #CEE5F2;
}

.wrestler-description-content pre {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1rem 0;
}

.wrestler-description-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Tables */
.wrestler-description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.wrestler-description-content table th,
.wrestler-description-content table td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.wrestler-description-content table th {
  background-color: rgba(255, 255, 255, 0.05);
  color: #CEE5F2;
  font-weight: 600;
}

.wrestler-description-content table td {
  color: #E9ECF2;
}

/* Horizontal rules */
.wrestler-description-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* Images */
.wrestler-description-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .wrestler-description-container {
    max-width: 100%;
    border-radius: 8px;
  }

  .wrestler-description-header {
    padding-top: 0.8rem;
    padding-bottom: 0.4rem;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .wrestler-description-title {
    font-size: 20px;
  }

  .wrestler-description-content {
    padding: 1.25rem;
    font-size: 16px;
    line-height: 1.65;
  }

  .wrestler-description-content p {
    margin-bottom: 1.25rem !important;
  }

  .wrestler-description-content h2 {
    font-size: 20px;
  }

  .wrestler-description-content h3 {
    font-size: 18px;
  }

  .wrestler-description-content h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .wrestler-description-container {
    border-radius: 6px;
  }

  .wrestler-description-header {
    padding-top: 0.8rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .wrestler-description-title {
    font-size: 18px;
  }

  .wrestler-description-content {
    padding: 1rem;
    font-size: 15px;
    line-height: 1.6;
  }

  .wrestler-description-content p {
    margin-bottom: 1.25rem !important;
  }

  .wrestler-description-content h2 {
    font-size: 18px;
  }

  .wrestler-description-content h3 {
    font-size: 16px;
  }

  .wrestler-description-content h4 {
    font-size: 15px;
  }

  .wrestler-description-content ul,
  .wrestler-description-content ol {
    padding-left: 1.25rem;
  }

  .wrestler-description-content blockquote {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
  }
}
