@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* Codex readable article table design start */
.entry-content .article-table-scroll,
.article .article-table-scroll,
.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 81, 50, 0.08);
}

.entry-content table,
.article table,
.article-table-scroll table,
.wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  font-size: 0.95em;
  line-height: 1.7;
  background: #ffffff;
}

.entry-content table th,
.entry-content table td,
.article table th,
.article table td,
.article-table-scroll th,
.article-table-scroll td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em !important;
  border: 0 !important;
  border-top: 1px solid #d8e5dd !important;
  border-right: 1px solid #d8e5dd !important;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content table tr > :last-child,
.article table tr > :last-child,
.article-table-scroll tr > :last-child,
.wp-block-table tr > :last-child {
  border-right: 0 !important;
}

.entry-content table thead th,
.article table thead th,
.article-table-scroll thead th,
.wp-block-table thead th {
  background: #0f5132 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  border-top: 0 !important;
}

.entry-content table tbody th,
.article table tbody th,
.article-table-scroll tbody th,
.wp-block-table tbody th {
  background: #f2f8f4 !important;
  color: #173b29 !important;
  font-weight: 700;
  text-align: left;
}

.entry-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) th,
.article table tbody tr:nth-child(even) td,
.article table tbody tr:nth-child(even) th,
.article-table-scroll tbody tr:nth-child(even) td,
.article-table-scroll tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th {
  background: #f8fbf8 !important;
}

.entry-content table caption,
.article table caption,
.article-table-scroll caption,
.wp-block-table caption {
  caption-side: bottom;
  padding: 0.7em 0.9em;
  color: #5b665f;
  font-size: 0.92em;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content .article-table-scroll,
  .article .article-table-scroll,
  .wp-block-table {
    margin-right: -0.4em;
    margin-left: -0.4em;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .entry-content table,
  .article table,
  .article-table-scroll table,
  .wp-block-table table {
    min-width: 620px;
    font-size: 0.9em;
  }

  .entry-content table th,
  .entry-content table td,
  .article table th,
  .article table td,
  .article-table-scroll th,
  .article-table-scroll td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.72em 0.8em !important;
  }
}
/* Codex readable article table design end */

/* Codex readable article table design start */
.entry-content .article-table-scroll,
.article .article-table-scroll,
.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 81, 50, 0.08);
}

.entry-content table,
.article table,
.article-table-scroll table,
.wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  font-size: 0.95em;
  line-height: 1.7;
  background: #ffffff;
}

.entry-content table th,
.entry-content table td,
.article table th,
.article table td,
.article-table-scroll th,
.article-table-scroll td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em !important;
  border: 0 !important;
  border-top: 1px solid #d8e5dd !important;
  border-right: 1px solid #d8e5dd !important;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content table tr > :last-child,
.article table tr > :last-child,
.article-table-scroll tr > :last-child,
.wp-block-table tr > :last-child {
  border-right: 0 !important;
}

.entry-content table thead th,
.article table thead th,
.article-table-scroll thead th,
.wp-block-table thead th {
  background: #0f5132 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  border-top: 0 !important;
}

.entry-content table tbody th,
.article table tbody th,
.article-table-scroll tbody th,
.wp-block-table tbody th {
  background: #f2f8f4 !important;
  color: #173b29 !important;
  font-weight: 700;
  text-align: left;
}

.entry-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) th,
.article table tbody tr:nth-child(even) td,
.article table tbody tr:nth-child(even) th,
.article-table-scroll tbody tr:nth-child(even) td,
.article-table-scroll tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th {
  background: #f8fbf8 !important;
}

.entry-content table caption,
.article table caption,
.article-table-scroll caption,
.wp-block-table caption {
  caption-side: bottom;
  padding: 0.7em 0.9em;
  color: #5b665f;
  font-size: 0.92em;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content .article-table-scroll,
  .article .article-table-scroll,
  .wp-block-table {
    margin-right: -0.4em;
    margin-left: -0.4em;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .entry-content table,
  .article table,
  .article-table-scroll table,
  .wp-block-table table {
    min-width: 620px;
    font-size: 0.9em;
  }

  .entry-content table th,
  .entry-content table td,
  .article table th,
  .article table td,
  .article-table-scroll th,
  .article-table-scroll td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.72em 0.8em !important;
  }
}
/* Codex readable article table design end */

/* Codex readable article table design start */
.entry-content .article-table-scroll,
.article .article-table-scroll,
.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 81, 50, 0.08);
}

.entry-content table,
.article table,
.article-table-scroll table,
.wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  font-size: 0.95em;
  line-height: 1.7;
  background: #ffffff;
}

.entry-content table th,
.entry-content table td,
.article table th,
.article table td,
.article-table-scroll th,
.article-table-scroll td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em !important;
  border: 0 !important;
  border-top: 1px solid #d8e5dd !important;
  border-right: 1px solid #d8e5dd !important;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content table tr > :last-child,
.article table tr > :last-child,
.article-table-scroll tr > :last-child,
.wp-block-table tr > :last-child {
  border-right: 0 !important;
}

.entry-content table thead th,
.article table thead th,
.article-table-scroll thead th,
.wp-block-table thead th {
  background: #0f5132 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  border-top: 0 !important;
}

.entry-content table tbody th,
.article table tbody th,
.article-table-scroll tbody th,
.wp-block-table tbody th {
  background: #f2f8f4 !important;
  color: #173b29 !important;
  font-weight: 700;
  text-align: left;
}

.entry-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) th,
.article table tbody tr:nth-child(even) td,
.article table tbody tr:nth-child(even) th,
.article-table-scroll tbody tr:nth-child(even) td,
.article-table-scroll tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th {
  background: #f8fbf8 !important;
}

.entry-content table caption,
.article table caption,
.article-table-scroll caption,
.wp-block-table caption {
  caption-side: bottom;
  padding: 0.7em 0.9em;
  color: #5b665f;
  font-size: 0.92em;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content .article-table-scroll,
  .article .article-table-scroll,
  .wp-block-table {
    margin-right: -0.4em;
    margin-left: -0.4em;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .entry-content table,
  .article table,
  .article-table-scroll table,
  .wp-block-table table {
    min-width: 620px;
    font-size: 0.9em;
  }

  .entry-content table th,
  .entry-content table td,
  .article table th,
  .article table td,
  .article-table-scroll th,
  .article-table-scroll td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.72em 0.8em !important;
  }
}
/* Codex readable article table design end */

/* Codex readable article table design start */
.entry-content .article-table-scroll,
.article .article-table-scroll,
.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 81, 50, 0.08);
}

.entry-content table,
.article table,
.article-table-scroll table,
.wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  font-size: 0.95em;
  line-height: 1.7;
  background: #ffffff;
}

.entry-content table th,
.entry-content table td,
.article table th,
.article table td,
.article-table-scroll th,
.article-table-scroll td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em !important;
  border: 0 !important;
  border-top: 1px solid #d8e5dd !important;
  border-right: 1px solid #d8e5dd !important;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content table tr > :last-child,
.article table tr > :last-child,
.article-table-scroll tr > :last-child,
.wp-block-table tr > :last-child {
  border-right: 0 !important;
}

.entry-content table thead th,
.article table thead th,
.article-table-scroll thead th,
.wp-block-table thead th {
  background: #0f5132 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  border-top: 0 !important;
}

.entry-content table tbody th,
.article table tbody th,
.article-table-scroll tbody th,
.wp-block-table tbody th {
  background: #f2f8f4 !important;
  color: #173b29 !important;
  font-weight: 700;
  text-align: left;
}

.entry-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) th,
.article table tbody tr:nth-child(even) td,
.article table tbody tr:nth-child(even) th,
.article-table-scroll tbody tr:nth-child(even) td,
.article-table-scroll tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th {
  background: #f8fbf8 !important;
}

.entry-content table caption,
.article table caption,
.article-table-scroll caption,
.wp-block-table caption {
  caption-side: bottom;
  padding: 0.7em 0.9em;
  color: #5b665f;
  font-size: 0.92em;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content .article-table-scroll,
  .article .article-table-scroll,
  .wp-block-table {
    margin-right: -0.4em;
    margin-left: -0.4em;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .entry-content table,
  .article table,
  .article-table-scroll table,
  .wp-block-table table {
    min-width: 620px;
    font-size: 0.9em;
  }

  .entry-content table th,
  .entry-content table td,
  .article table th,
  .article table td,
  .article-table-scroll th,
  .article-table-scroll td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.72em 0.8em !important;
  }
}
/* Codex readable article table design end */

/* Codex reader-matched Amazon ad design start */
.entry-content .codex-amazon-ad,
.article .codex-amazon-ad {
  margin: 1.8em 0;
  border: 1px solid #dde7e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(31, 41, 55, 0.08);
  overflow: hidden;
}

.entry-content .codex-amazon-ad *,
.article .codex-amazon-ad * {
  box-sizing: border-box;
}

.entry-content .codex-amazon-ad__body,
.article .codex-amazon-ad__body {
  padding: 1.05em;
}

.entry-content .codex-amazon-ad__eyebrow,
.article .codex-amazon-ad__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: auto;
  max-width: max-content;
  min-height: 1.7em;
  margin: 0 0 0.55em;
  padding: 0.16em 0.58em;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.35;
}

.entry-content .codex-amazon-ad__title,
.article .codex-amazon-ad__title {
  margin: 0 0 0.85em;
  color: #111827;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.55;
}

.entry-content .codex-amazon-ad__text,
.article .codex-amazon-ad__text {
  margin: 0 0 0.95em;
  color: #374151;
  line-height: 1.75;
}

.entry-content .codex-amazon-ad__grid,
.article .codex-amazon-ad__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0.9em;
  align-items: stretch;
}

.entry-content .codex-amazon-ad__item,
.article .codex-amazon-ad__item {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  max-width: 100%;
  padding: 0.85em;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: inherit;
  background: #fafafa;
  text-decoration: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.entry-content .codex-amazon-ad__item:hover,
.article .codex-amazon-ad__item:hover,
.entry-content .codex-amazon-ad__item:focus-visible,
.article .codex-amazon-ad__item:focus-visible {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.entry-content .codex-amazon-ad__image,
.article .codex-amazon-ad__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.7em;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
}

.entry-content .codex-amazon-ad__image img,
.article .codex-amazon-ad__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.entry-content .codex-amazon-ad__item-title,
.article .codex-amazon-ad__item-title {
  display: -webkit-box;
  min-height: 3.3em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #111827;
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.entry-content .codex-amazon-ad__item-feature,
.article .codex-amazon-ad__item-feature {
  display: -webkit-box;
  min-height: 3.2em;
  margin-top: 0.45em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #4b5563;
  font-size: 0.84em;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.entry-content .codex-amazon-ad__button,
.article .codex-amazon-ad__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
  margin-top: 0.8em;
  padding: 0.48em 0.85em;
  border-radius: 6px;
  color: #ffffff !important;
  background: #2563eb;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.entry-content .codex-amazon-ad__note,
.article .codex-amazon-ad__note {
  margin: 0.85em 0 0;
  color: #6b7280;
  font-size: 0.82em;
  line-height: 1.65;
}

.entry-content .codex-amazon-ad--fallback .codex-amazon-ad__body,
.article .codex-amazon-ad--fallback .codex-amazon-ad__body {
  display: grid;
  gap: 0.35em;
}

.entry-content .codex-amazon-ad--image-fallback .codex-amazon-ad__body,
.article .codex-amazon-ad--image-fallback .codex-amazon-ad__body {
  display: block;
}

.entry-content .codex-amazon-ad--fallback .codex-amazon-ad__button,
.article .codex-amazon-ad--fallback .codex-amazon-ad__button {
  justify-self: start;
}

.entry-content .codex-amazon-ad--image-fallback .codex-amazon-ad__button,
.article .codex-amazon-ad--image-fallback .codex-amazon-ad__button {
  width: 100%;
  justify-self: stretch;
}

#sidebar .codex-amazon-ad--sidebar {
  margin: 0 0 1.2em;
  border: 1px solid #dde7e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
  overflow: hidden;
}

#sidebar .codex-amazon-ad--sidebar *,
.sidebar .codex-amazon-ad--sidebar * {
  box-sizing: border-box;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__body {
  padding: 0.85em;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  min-height: 1.55em;
  margin: 0 0 0.45em;
  padding: 0.12em 0.5em;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.74em;
  font-weight: 700;
  line-height: 1.3;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__title {
  margin: 0 0 0.7em;
  color: #111827;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.5;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65em;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 0.7em;
  min-width: 0;
  padding: 0.65em;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: inherit;
  background: #fafafa;
  text-decoration: none !important;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__image {
  display: flex;
  grid-row: 1 / 4;
  align-items: center;
  justify-content: center;
  width: 74px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__item-title {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #111827;
  font-size: 0.84em;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__item-feature {
  display: -webkit-box;
  margin-top: 0.18em;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #4b5563;
  font-size: 0.76em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 2.15em;
  margin-top: 0.35em;
  padding: 0.36em 0.68em;
  border-radius: 6px;
  color: #ffffff !important;
  background: #2563eb;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

#sidebar .codex-amazon-ad--sidebar .codex-amazon-ad__note {
  margin: 0.7em 0 0;
  color: #6b7280;
  font-size: 0.74em;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .entry-content .codex-amazon-ad__grid,
  .article .codex-amazon-ad__grid {
    grid-template-columns: 1fr;
  }

  .entry-content .codex-amazon-ad__item,
  .article .codex-amazon-ad__item {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 0.85em;
    padding: 0.75em;
  }

  .entry-content .codex-amazon-ad__image,
  .article .codex-amazon-ad__image {
    grid-row: 1 / 4;
    margin: 0;
    aspect-ratio: 1 / 1;
  }

  .entry-content .codex-amazon-ad__item-title,
  .article .codex-amazon-ad__item-title {
    min-height: 0;
    font-size: 0.9em;
    line-height: 1.55;
  }

  .entry-content .codex-amazon-ad__item-feature,
  .article .codex-amazon-ad__item-feature {
    min-height: 0;
    margin-top: 0.25em;
    font-size: 0.8em;
  }

  .entry-content .codex-amazon-ad__button,
  .article .codex-amazon-ad__button {
    justify-self: start;
    min-height: 2.45em;
    margin-top: 0.55em;
  }

  .entry-content .codex-amazon-ad--image-fallback .codex-amazon-ad__button,
  .article .codex-amazon-ad--image-fallback .codex-amazon-ad__button {
    width: auto;
    min-width: 9em;
    justify-self: start;
  }
}
/* Codex reader-matched Amazon ad design end */

/* Codex readable article table design start */
.entry-content .article-table-scroll,
.article .article-table-scroll,
.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 81, 50, 0.08);
}

.entry-content table,
.article table,
.article-table-scroll table,
.wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  font-size: 0.95em;
  line-height: 1.7;
  background: #ffffff;
}

.entry-content table th,
.entry-content table td,
.article table th,
.article table td,
.article-table-scroll th,
.article-table-scroll td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em !important;
  border: 0 !important;
  border-top: 1px solid #d8e5dd !important;
  border-right: 1px solid #d8e5dd !important;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content table tr > :last-child,
.article table tr > :last-child,
.article-table-scroll tr > :last-child,
.wp-block-table tr > :last-child {
  border-right: 0 !important;
}

.entry-content table thead th,
.article table thead th,
.article-table-scroll thead th,
.wp-block-table thead th {
  background: #0f5132 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  border-top: 0 !important;
}

.entry-content table tbody th,
.article table tbody th,
.article-table-scroll tbody th,
.wp-block-table tbody th {
  background: #f2f8f4 !important;
  color: #173b29 !important;
  font-weight: 700;
  text-align: left;
}

.entry-content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) th,
.article table tbody tr:nth-child(even) td,
.article table tbody tr:nth-child(even) th,
.article-table-scroll tbody tr:nth-child(even) td,
.article-table-scroll tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th {
  background: #f8fbf8 !important;
}

.entry-content table caption,
.article table caption,
.article-table-scroll caption,
.wp-block-table caption {
  caption-side: bottom;
  padding: 0.7em 0.9em;
  color: #5b665f;
  font-size: 0.92em;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content .article-table-scroll,
  .article .article-table-scroll,
  .wp-block-table {
    margin-right: -0.4em;
    margin-left: -0.4em;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .entry-content table,
  .article table,
  .article-table-scroll table,
  .wp-block-table table {
    min-width: 620px;
    font-size: 0.9em;
  }

  .entry-content table th,
  .entry-content table td,
  .article table th,
  .article table td,
  .article-table-scroll th,
  .article-table-scroll td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.72em 0.8em !important;
  }
}
/* Codex readable article table design end */
