/* Shared styles for simple content pages (bio, newsletter, disclaimer) */

/* Main content area */
main.content-page {
  padding: 3rem 2rem;
}

/* Typography */
.page-content h2 {
  color: var(--color-text);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-content h3 {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.page-content h3:first-of-type {
  margin-top: 0;
}

.page-content p {
  margin: 1rem 0;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.page-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.page-content ul li {
  margin: 0.5rem 0;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.page-content a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.page-content a:hover {
  color: var(--color-primary-dark);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
}

.highlight-box p:first-child {
  margin-top: 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Bio page specific - Profile photo */
.bio-content .profile-photo {
  width: 294px;
  height: 357px;
  float: left;
  margin: 0.15rem 2rem 1rem 0;
}

.bio-content .profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Newsletter page specific */
.newsletter-header {
  text-align: center;
  margin-bottom: 3rem;
}

.newsletter-header h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.newsletter-header p {
  max-width: 100%;
  margin: 0 auto;
}

/* Newsletter Form Card */
.newsletter-form-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-header-border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.newsletter-form-card .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form-card input[type="email"] {
  width: 100%;
  max-width: 900px;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.newsletter-form-card input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
}

.newsletter-form-card button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--gradient);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.newsletter-form-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.newsletter-form-card small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  main.content-page {
    padding: 2rem 1.5rem;
  }

  .bio-content .profile-photo {
    width: 200px;
    height: 243px;
    float: none;
    margin: 0 auto 1.5rem;
  }

  .newsletter-header h2 {
    font-size: 1.5rem;
  }

  .newsletter-form-card {
    padding: 1.5rem;
  }
}
