/* News Single Content Styles */
.news-single-content {
  width: 100%;
  background: var(--Tertiary-40, #FBF3F2);
  position: relative;
  padding: 4rem 0;
}

/* Add space above privacy policy page */
.news-single-content.privacy-policy-content {
  padding-top: 8rem !important;
  margin-top: 4rem !important;
}

.news-single-content-container {
  width: 60% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
  padding: 0 2rem;
}

.news-single-content-wrapper {
  width: 100%;
  color: var(--Primary-100, #680144);
}

/* Headings */
.news-single-content-wrapper h1,
.news-single-content-wrapper h2,
.news-single-content-wrapper h3,
.news-single-content-wrapper h4,
.news-single-content-wrapper h5,
.news-single-content-wrapper h6 {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 120%; /* 48px */
  letter-spacing: 0px;
  margin: 2rem 0 1rem;
  padding: 0;
}

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

.news-single-content-wrapper h3 {
  font-size: 32px;
}

.news-single-content-wrapper h4 {
  font-size: 28px;
}

.news-single-content-wrapper h5 {
  font-size: 24px;
}

.news-single-content-wrapper h6 {
  font-size: 20px;
}

/* Body Text */
.news-single-content-wrapper p {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  margin: 0 0 1.5rem;
  padding: 0;
}

.news-single-content-wrapper p:last-child {
  margin-bottom: 0;
}

/* Lists */
.news-single-content-wrapper ul,
.news-single-content-wrapper ol {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  margin: 0 0 1.5rem;
  padding-left: 2rem;
}

.news-single-content-wrapper ul {
  list-style-type: disc;
}

.news-single-content-wrapper ol {
  list-style-type: decimal;
}

.news-single-content-wrapper li {
  margin: 0.5rem 0;
}

.news-single-content-wrapper ul ul,
.news-single-content-wrapper ol ol,
.news-single-content-wrapper ul ol,
.news-single-content-wrapper ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Links */
.news-single-content-wrapper a {
  color: var(--Primary-100, #680144);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.news-single-content-wrapper a:hover {
  opacity: 0.8;
}

/* Blockquotes */
.news-single-content-wrapper blockquote {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--Primary-100, #680144);
  background: rgba(104, 1, 68, 0.05);
}

/* Images */
.news-single-content-wrapper img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  display: block;
}

.news-single-content-wrapper figure {
  margin: 2rem 0;
}

.news-single-content-wrapper figcaption {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin-top: 0.5rem;
  text-align: center;
  opacity: 0.8;
}

/* Tables */
.news-single-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
}

.news-single-content-wrapper th,
.news-single-content-wrapper td {
  padding: 0.75rem;
  border: 1px solid rgba(104, 1, 68, 0.2);
  text-align: left;
}

.news-single-content-wrapper th {
  font-weight: 600;
  background: rgba(104, 1, 68, 0.05);
}

/* Horizontal Rules */
.news-single-content-wrapper hr {
  border: none;
  border-top: 1px solid rgba(104, 1, 68, 0.2);
  margin: 2rem 0;
}

/* Code */
.news-single-content-wrapper code {
  background: rgba(104, 1, 68, 0.1);
  padding: 0.125rem 0.25rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 16px;
}

.news-single-content-wrapper pre {
  background: rgba(104, 1, 68, 0.05);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.news-single-content-wrapper pre code {
  background: none;
  padding: 0;
}

/* Responsive - Desktop/Laptop (1024px+) */
@media (min-width: 1024px) {
  .news-single-content {
    padding: 6rem 0;
  }
  
  .news-single-content-container {
    width: 70%;
    max-width: 1200px !important;
  }

  /* Override full-width container rule on desktop */
  main > section.news-single-content > .news-single-content-container {
    width: 70% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Responsive - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .news-single-content {
    padding: 4rem 0;
  }
  
  .news-single-content-container {
    width: 90%;
    max-width: 100% !important;
    padding: 0 2rem;
  }
  
  .news-single-content-wrapper h1,
  .news-single-content-wrapper h2 {
    font-size: 36px;
  }
  
  .news-single-content-wrapper h3 {
    font-size: 28px;
  }
}

/* Responsive - Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .news-single-content {
    padding: 3rem 0;
  }
  
  .news-single-content-container {
    width: 95% !important;
    padding: 0 1rem;
  }
  
  .news-single-content-wrapper h1,
  .news-single-content-wrapper h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin: 1.5rem 0 0.75rem;
  }
  
  .news-single-content-wrapper h3 {
    font-size: 24px;
  }
  
  .news-single-content-wrapper h4 {
    font-size: 20px;
  }
  
  .news-single-content-wrapper p,
  .news-single-content-wrapper ul,
  .news-single-content-wrapper ol,
  .news-single-content-wrapper blockquote {
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.2px;
  }
  
  .news-single-content-wrapper ul,
  .news-single-content-wrapper ol {
    padding-left: 1.5rem;
  }
  
  .news-single-content-wrapper img {
    margin: 1.5rem 0;
  }
  
  .news-single-content-wrapper table {
    font-size: 16px;
    display: block;
    overflow-x: auto;
  }
}
