.blog-custom ul {
  list-style-type: none;
  margin-left: 1.5rem;
}

.blog-custom ol {
  list-style-type: none;
  margin-left: 1.5rem;
}

.media-custom ul {
  list-style-type: none;
  margin-left: 1.5rem;
}

/* Second Level */
.blog-custom ul ul {
  margin-left: 2rem;
}

/* Second Level */
.media-custom ul ul {
  margin-left: 2rem;
}

/* Third Level */
.blog-custom ul ul ul {
  margin-left: 2.5rem;
}

.blog-custom ul > li {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 0.5rem;
  margin-bottom: var(--space-3xs);
}

.blog-custom ol > li {
  list-style-type: decimal;
  list-style-position: inside;
  padding-left: 1rem;
  margin-bottom: var(--space-3xs);
}

.blog-custom div :has(table) {
  overflow-x: auto;
}

.blog-custom table {
  height: auto;
  border-collapse: collapse;
  margin: left;
  caption-side: top;
  empty-cells: hide;
  table-layout: auto;
}

.blog-custom table td {
  padding: 1rem;
}

.media-custom table td {
  padding: 1rem;
}

.blog-custom table thead td {
  background-color: #54585d;
  border: 1px solid #54585d;
}

.blog-custom table tbody td {
  border: 1px solid #dddfe1;
}

.blog-custom table tbody tr {
  background-color: #f9fafb;
}

.blog-custom table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.blog-custom h1,
.blog-custom h2 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem; /* text-2xl */
  @media (min-width: 768px) {
    /* medium screen */
    margin-top: 2rem; /* my-8 */
    margin-bottom: 2rem; /* my-8 */
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem; /* text-3xl */
    font-family: var(--font-lexend), sans-serif;
  }

  font-family: font-lexend, sans-serif;
}

.media-custom h1,
.media-custom h2 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem; /* text-2xl */
  @media (min-width: 768px) {
    /* medium screen */
    margin-top: 2rem; /* my-8 */
    margin-bottom: 2rem; /* my-8 */
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem; /* text-3xl */
    font-family: var(--font-lexend), sans-serif;
  }

  font-family: font-lexend, sans-serif;
}

.blog-custom h1:first-child,
.blog-custom h2:first-child {
  margin-top: 0;
}

.blog-custom h3 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem; /* text-xl */
  font-weight: 400;
  font-family: var(--font-lexend), sans-serif;
  @media (min-width: 768px) {
    /* medium screen */
    margin-top: 1.25rem; /* my-5 */
    margin-bottom: 1.25rem; /* my-5 */
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem; /* text-2xl */
    font-weight: 400;
    font-family: var(--font-lexend), sans-serif;
  }
}

/* h4 styles */
.blog-custom h4,
.blog-custom h5,
.blog-custom h6 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem; /* text-lg */
  font-weight: 400;
  font-family: var(--font-lexend), sans-serif;
  @media (min-width: 768px) {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem; /* text-xl */
    font-weight: 400;
    font-family: var(--font-lexend), sans-serif;
  }
}

.blog-custom a {
  display: inline-flex;
  align-items: center;
  font-style: normal !important;
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem; /* text-xl */
  background-color: transparent; /* bg-transparent */
  color: #3954e0; /* text-blue-400 */
  font-family: var(--font-noto-sans), sans-serif; /* font-noto-sans */
  transition:
    background-color 0.3s,
    border-color 0.3s; /* transition-colors */
  outline: none; /* focus:outline-0 */
  box-shadow: none; /* focus:shadow-focus */
  text-decoration: underline; /* underline */
  text-decoration-thickness: 1px; /* decoration-1 */
}

.media-custom a {
  display: inline-flex;
  align-items: center;
  font-style: normal !important;
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem; /* text-xl */
  background-color: transparent; /* bg-transparent */
  color: #3954e0; /* text-blue-400 */
  font-family: var(--font-noto-sans), sans-serif; /* font-noto-sans */
  transition:
    background-color 0.3s,
    border-color 0.3s; /* transition-colors */
  outline: none; /* focus:outline-0 */
  box-shadow: none; /* focus:shadow-focus */
  text-decoration: underline; /* underline */
  text-decoration-thickness: 1px; /* decoration-1 */
}

.blog-custom a:hover {
  border-color: #1d2951; /* hover:border-brand-blue-400 */
  color: #1d2951; /* hover:text-brand-blue-400 */
}

.blog-custom a:focus {
  box-shadow: #1d2951; /* focus:shadow-focus */
  outline: 0; /* focus:outline-focus */
}

.media-custom ol {
  list-style-type: none;
  margin-left: 1.5rem;
}

/* Third Level */
.media-custom ul ul ul {
  margin-left: 2.5rem;
}

.media-custom ul > li {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 0.5rem;
  margin-bottom: var(--space-3xs);
}

.media-custom ol > li {
  list-style-type: decimal;
  list-style-position: inside;
  padding-left: 1rem;
  margin-bottom: var(--space-3xs);
}

.media-custom div :has(table) {
  overflow-x: auto;
}

.media-custom table {
  height: auto;
  border-collapse: collapse;
  margin: left;
  caption-side: top;
  empty-cells: hide;
  table-layout: auto;
}

.media-custom table thead td {
  background-color: #54585d;
}

.media-custom table tbody td {
  border: 1px solid #fff;
}

/* .media-custom table tbody tr {
	background-color: #f9fafb;
} */

.media-custom table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.media-custom h1:first-child,
.media-custom h2:first-child {
  margin-top: 0;
}

.media-custom h3 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem; /* text-xl */
  font-weight: 400;
  font-family: var(--font-lexend), sans-serif;
  @media (min-width: 768px) {
    /* medium screen */
    margin-top: 1.25rem; /* my-5 */
    margin-bottom: 1.25rem; /* my-5 */
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem; /* text-2xl */
    font-weight: 400;
    font-family: var(--font-lexend), sans-serif;
  }
}

/* h4 styles */
.media-custom h4,
.media-custom h5,
.media-custom h6 {
  margin-top: 1rem; /* my-4 */
  margin-bottom: 1rem; /* my-4 */
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem; /* text-lg */
  font-weight: 400;
  font-family: var(--font-lexend), sans-serif;
  @media (min-width: 768px) {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem; /* text-xl */
    font-weight: 400;
    font-family: var(--font-lexend), sans-serif;
  }
}

.media-custom a:hover {
  border-color: #1d2951; /* hover:border-brand-blue-400 */
  color: #1d2951; /* hover:text-brand-blue-400 */
}

.media-custom a:focus {
  box-shadow: #1d2951; /* focus:shadow-focus */
  outline: 0; /* focus:outline-focus */
}

/* For higher specificity, target the em element within a specific class */
.media-custom em {
  font-style: normal;
}

