/* Nourish Motion - Content & Compliance Pages Stylesheet */

.legal-content-section {
  padding: 50px 0 70px;
  background-color: #ffffff;
}

.legal-content-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 30px;
  background: #ffffff;
  color: #2c2c2c;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.75;
}

.legal-content-box h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #40264b;
  margin-bottom: 15px;
}

.legal-content-box .updated-date {
  font-size: 0.95rem;
  color: #7a6e82;
  margin-bottom: 30px;
  border-bottom: 1px solid #e8e2eb;
  padding-bottom: 15px;
}

.legal-content-box h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #5d2d6c;
  margin-top: 35px;
  margin-bottom: 15px;
}

.legal-content-box h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #40264b;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content-box p {
  font-size: 1rem;
  color: #3e3e3e;
  margin-bottom: 18px;
}

.legal-content-box ul, .legal-content-box ol {
  margin: 15px 0 22px 25px;
  color: #3e3e3e;
}

.legal-content-box li {
  margin-bottom: 8px;
}

.legal-badge-box {
  background: #f8f3fa;
  border: 1px solid #e1d3e8;
  border-left: 4px solid #834496;
  padding: 20px 24px;
  border-radius: 6px;
  margin: 25px 0;
}

.legal-badge-box h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #40264b;
  margin: 0 0 8px;
}

.legal-badge-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a444f;
}

/* Articles & Guides Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.article-card {
  background: #ffffff;
  border: 1px solid #e7dfeb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(64, 38, 75, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(64, 38, 75, 0.12);
}

.article-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #834496;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.article-card-body h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #40264b;
  margin: 0 0 12px;
  line-height: 1.4;
}

.article-card-body p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.82rem;
  color: #888;
  border-top: 1px solid #f0eaf2;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #fbf8fc;
  border: 1px solid #e7dfea;
  border-radius: 12px;
  padding: 30px;
}

.contact-form-group {
  margin-bottom: 18px;
}

.contact-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #40264b;
  margin-bottom: 6px;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9bdce;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: #834496;
}

.btn-primary-purple {
  display: inline-block;
  background: #834496;
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-primary-purple:hover {
  background: #5d2d6c;
}

.form-alert-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  padding: 14px 18px;
  border-radius: 6px;
  margin-top: 15px;
  font-size: 0.95rem;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2d9e6;
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}
