/* About content pages specific styles */

/* Base typography for about content - using Merriweather like post content */
.about-content {
  font-family: 'Merriweather', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1.125rem; /* 18px - same as post content */
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #374151; /* gray-700 */
}

/* Headings - using Merriweather like post content */
.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4,
.about-content h5,
.about-content h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  letter-spacing: -0.01em;
}

.about-content h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111827; /* gray-900 */
}

.about-content h2 {
  font-size: 1.875rem; /* 30px */
  line-height: 1.3;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #111827;
}

.about-content h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  color: #111827;
}

.about-content h4 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.5;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.about-content h5 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.about-content h6 {
  font-size: 1rem; /* 16px */
  font-weight: 700;
  line-height: 1.5;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Paragraphs */
.about-content p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-content p:first-of-type {
  margin-top: 0;
}

/* Links */
.about-content a {
  color: #2563eb; /* blue-600 */
  text-decoration: underline;
  transition: color 200ms;
  word-break: break-all;
  overflow-wrap: break-word;
}

.about-content a:hover {
  color: #1e40af; /* blue-800 */
}

/* Lists */
.about-content ul,
.about-content ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.about-content ul {
  list-style-type: disc;
}

.about-content ol {
  list-style-type: decimal;
}

.about-content li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.about-content ul ul,
.about-content ul ol,
.about-content ol ul,
.about-content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Blockquotes */
.about-content blockquote {
  border-left: 4px solid #fe4a49;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4b5563; /* gray-600 */
}

/* Code blocks */
.about-content pre {
  background: #f3f4f6; /* gray-100 */
  border-radius: 0.375rem;
  padding: 1rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.7;
}

.about-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: 'Courier New', Courier, monospace;
}

.about-content pre code {
  background: transparent;
  padding: 0;
}

/* Tables */
.about-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.about-content th {
  background: #f3f4f6;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid #d1d5db;
}

.about-content td {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
}

/* Horizontal rule */
.about-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* Strong and emphasis - using Merriweather */
.about-content strong,
.about-content b {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #111827;
}

.about-content em,
.about-content i {
  font-family: 'Merriweather', serif;
  font-style: italic;
}

/* Images */
.about-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.375rem;
}

/* Ensure good readability on all devices - same as post content */
@media (min-width: 768px) {
  .about-content {
    font-size: 1.25rem; /* 20px on larger screens */
    line-height: 1.8;
  }
}

/* Page-specific styles */

/* Name & Logo page styles */
.about-content.namelogo img {
  object-fit: contain;
  width: 200px;
}

/* Values page styles */
.about-content.values blockquote {
  border-color: #fe4a49;
}

/* Culture Creatives page styles */
.about-content.culturecreatives .image {
  object-fit: contain;
  width: 50%;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Leadership Development page styles */
.about-content.leadershipdevelopment blockquote {
  border-color: #fe4a49;
}