/* Base */
:root {
  --ryoex-primary: #3660fd;
  --ryoex-dark: #212121;
  --ryoex-gray: #4e4e4e;
  --ryoex-border: #aeaeae;
  --ryoex-mb: 23px;
  --ryoex-mb-h5: 20px;
}

.ryoex-article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 20px;
  line-height: 1.6;
}

.article-content {
  line-height: 1.6 !important;
}

.article-content section {
  width: 100%;
}

.article-content h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

.ryoex-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ryoex-article-category {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ryoex-category-icon {
  width: 18px;
  height: 18px;
}

.ryoex-cat-tag {
  display: inline-block;
  padding: 0 6px;
  font-size: 12px;
  color: #fff !important;
  height: 16px;
  line-height: 16px;
  background: #212121;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ryoex-cat-tag:hover {
  background: var(--ryoex-primary);
}

.ryoex-article-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #606060;
}

.ryoex-date-icon {
  width: 12px;
  height: 12px;
}

.ryoex-info-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    -45deg,
    transparent 25%,
    hsla(0, 0%, 78%, 0.15) 25%,
    hsla(0, 0%, 78%, 0.15) 50%,
    transparent 50%,
    transparent 75%,
    hsla(0, 0%, 78%, 0.15) 75%,
    hsla(0, 0%, 78%, 0.15)
  );
  background-clip: padding-box;
  background-size: 6px 6px;
  position: relative;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 20px;
}

.ryoex-info-box svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ryoex-article-content {
    padding: 80px 20px;
  }

  .article-content h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .ryoex-info-box {
    font-size: 14px;
    margin-bottom: 23px;
  }
}

/* blog page toc start */
/* TOC */
.ryoex-toc,
.ryoex-toc-card {
  position: relative;
  min-height: 200px;
}

.ryoex-toc,
.ryoex-toc-card {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #f3f6ff;
  margin: 50px auto;
  padding: 0 0 24px;
}

@media (min-width: 768px) {
  .ryoex-toc {
    margin: 60px auto;
    width: 90%;
    padding: 0 30px 24px;
  }

  .ryoex-toc-card {
    padding: 0 30px 24px;
  }
}

.ryoex-toc-titlebar,
.ryoex-toc-card .titlebar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 12px;
}

.ryoex-toc-icon,
.ryoex-toc-card .icon {
  width: 18px;
  height: 16px;
  margin-right: 8px;
}

.ryoex-toc-title,
.ryoex-toc-card .title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: #1e1e1e;
}

.ryoex-toc-list {
  margin-bottom: 10px;
}

.ryoex-toc .ryoex-toc-list {
  padding: 0 30px;
}

.ryoex-toc-card .ryoex-toc-more,
.ryoex-toc .ryoex-toc-more,
.ryoex-toc-more {
  display: flex;
  justify-content: center;
}

.ryoex-toc-list {
  position: relative;
}

.ryoex-toc-list.has-overflow::after {
  background: linear-gradient(hsla(0, 0%, 100%, 0), #f3f6ff);
  bottom: 0;
  content: "";
  height: 100px;
  left: 0;
  opacity: 0.75;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.ryoex-btn-outline {
  padding: 0 16px;
  height: 32px;
  border: 1px solid #777;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.ryoex-btn-outline:hover {
  color: var(--ryoex-primary);
  border-color: var(--ryoex-primary);
  background: #f8fafc;
}

/* blog page toc end */
.ryoex-toc-floating {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 300px;
  background: #fff;
  border-bottom: 1px solid var(--ryoex-border);
  padding-bottom: 16px;
}

.ryoex-toc-floating-header {
  padding: 8px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ryoex-border);
}

.ryoex-toc-floating-title {
  position: relative;
  margin: 0;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.ryoex-toc-floating-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--ryoex-primary);
}

.ryoex-toc-scroll {
  max-height: 384px;
  overflow-y: auto;
  padding: 0 12px;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

/* Headings */

.article-content h2 {
  width: 100%;
  height: fit-content;
  padding: 8px;
  padding-left: 8px;
  display: flex;
  align-items: center;
  background: #212121;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--ryoex-mb-h5);
  margin-top: 50px;
}

.market-news h2 {
  background: transparent;
  color: #212121;
  margin-bottom: 5px !important;
  margin-top: 30px !important;
}

@media (min-width: 768px) {
  .article-content h2 {
    font-size: 24px;
    margin-bottom: var(--ryoex-mb);
    margin-top: 60px;
  }
}

.article-content h3,
.article-content .h-3 {
  width: 100% !important;
  height: fit-content !important;
  min-height: 34px !important;
  padding: 6px 9px !important;
  display: flex !important;
  align-items: center !important;
  border-left: 8px solid var(--ryoex-primary) !important;
  background: #f3f6ff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  margin-top: 30px !important;
  color: #212121 !important;
}

html[dir="rtl"] .article-content h3,
html[dir="rtl"] .article-content .h-3 {
  border-left: none !important;
  border-right: 8px solid var(--ryoex-primary) !important;
}

@media (min-width: 768px) {
  .article-content h3,
  .article-content .h-3 {
    min-height: 42px !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
    margin-top: 50px !important;
    border-left: 10px solid var(--ryoex-primary) !important;
  }
  html[dir="rtl"] .article-content h3,
  html[dir="rtl"] .article-content .h-3 {
    border-left: none !important;
    border-right: 10px solid var(--ryoex-primary) !important;
  }
}

.article-content h4,
.article-content .h-4 {
  width: 100% !important;
  height: fit-content !important;
  min-height: 24px !important;
  border-left: 4px solid var(--ryoex-primary) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin-top: 20px !important;
  margin-bottom: 8px !important;
  background-color: #ffffff !important;
  padding: 0 0 0 8px !important;
}

html[dir="rtl"] .article-content h4,
html[dir="rtl"] .article-content .h-4 {
  border-left: none !important;
  border-right: 4px solid var(--ryoex-primary) !important;
  padding: 0 8px 0 0 !important;
}

.article-content h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .article-content h4,
  .article-content .h-4 {
    min-height: 27px !important;
    font-size: 18px !important;
    margin-top: 23px !important;
    margin-bottom: 12px !important;
  }

  .article-content h5 {
    font-size: 16px;
  }

  html[dir="rtl"] .article-content h4,
  html[dir="rtl"] .article-content .h-4 {
    border-left: none !important;
    border-right: 4px solid var(--ryoex-primary) !important;
    padding: 0 8px 0 0 !important;
  }
}

/* Paragraph */
.article-content > p,
.article-content > section > p {
  width: 100%;
  font-size: 14px;
  color: var(--ryoex-dark);
  margin-bottom: var(--ryoex-mb-h5);
}

@media (min-width: 768px) {
  .article-content > p,
  .article-content > section > p {
    font-size: 16px;
    margin-bottom: var(--ryoex-mb);
  }

  .market-news > p {
    margin-bottom: 15px !important;
  }
}

.p-bg {
  background: #f3f6ff;
  padding: 10px;
}

.under-yellow,
.under-yellow-2,
.under-yellow-3 {
  font-weight: 600;
  display: inline;
  background-image: linear-gradient(to top, #fff2cc 7px, transparent 0);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 100% 7px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-bottom: 0;
  line-height: inherit;
}

.under-yellow-2 {
  background-image: linear-gradient(to top, #ffd27a 7px, transparent 0);
}

.under-yellow-3 {
  background-image: linear-gradient(to top, #ffe8a3 7px, transparent 0);
}

.article-content b,
.article-content strong {
  font-weight: 600;
}

/* Image */
.article-content > img,
.article-content > section > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto var(--ryoex-mb-h5);
}

@media (min-width: 768px) {
  .article-content > img,
  .article-content > section > img {
    margin-bottom: var(--ryoex-mb);
  }
}

.article-content a {
  color: var(--ryoex-primary);
}

.article-content a:hover {
  text-decoration: underline;
}

/* Callouts */
.ryoex-callout {
  position: relative;
  background: #fff;
  border: 2px solid var(--ryoex-primary);
  padding: 14px 16px 10px;
  min-height: 45px;
  margin-bottom: var(--ryoex-mb-h5);
  margin-top: 36px;
}

.ryoex-callout.gray {
  border: 2px solid rgb(186, 184, 187);
  margin-top: var(--ryoex-mb-h5);
  text-align: center;
}

.ryoex-callout img {
  position: absolute;
  top: -18px;
  left: 30px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid transparent;
  box-sizing: content-box;
}

html[dir="rtl"] .ryoex-callout img {
  left: auto;
  right: 30px;
}

.ryoex-callout > p {
  font-size: 12px;
  font-weight: 500;
  color: var(--ryoex-gray);
  margin-bottom: 0;
}

.ryoex-callout-warning {
  border: 2px solid #fe2c37;
  background: #fff;
}

@media (min-width: 768px) {
  .ryoex-callout {
    padding: 24px;
    margin-bottom: var(--ryoex-mb);
    margin-top: 43px;
  }

  .ryoex-callout.gray {
    margin-top: var(--ryoex-mb);
  }

  .ryoex-callout img {
    top: -20px;
    width: 32px;
    height: 32px;
    left: 50px;
  }

  html[dir="rtl"] .ryoex-callout img {
    left: auto;
    right: 50px;
  }

  .ryoex-callout > p {
    font-size: 16px;
  }
}

/* Feature list */
.ryoex-feature-list,
.ryoex-feature-list-dot {
  margin-bottom: var(--ryoex-mb-h5);
}

.ryoex-feature-list {
  width: 100%;
  background: #fff;
  border: 1px solid var(--ryoex-primary);
}

.ryoex-feature-list > div {
  background: var(--ryoex-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
}

.ryoex-feature-list > ul {
  padding: 0 20px;
  list-style: none;
}

@media (min-width: 768px) {
  .ryoex-feature-list,
  .ryoex-feature-list-dot {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-feature-list > div {
    font-size: 16px;
  }
}

.ryoex-feature-list > ul > li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #aeaeae;
}

.ryoex-feature-list > ul > li:last-child {
  border-bottom: none;
}

.ryoex-feature-list > ul > li > svg {
  width: 16px;
  height: 16px;
  background: #00d807;
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 3px;
  margin-top: 1.5px;
}

.ryoex-feature-list > ul > li p {
  margin: 0;
  font-size: 12px;
  color: #000;
}

.ryoex-feature-list-dot .dot-icon {
  width: 10px;
  height: 10px;
  background: var(--ryoex-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.ryoex-simple-list-wrap {
  background: #f3f6ff;
  padding: 4px 16px 10px;
  margin-bottom: 20px;
}

.ryoex-simple-list-wrap ul,
.ryoex-simple-list-wrap-2 ul {
  margin-bottom: 0;
}

.ryoex-simple-list-wrap-2 ul {
  padding-left: 16px;
}

.ryoex-simple-list-wrap-2 {
  background: #f3f6ff;
  padding: 0 16px 10px 0;
  margin-bottom: 20px;
}

.ryoex-simple-list-wrap-2 .title {
  width: fit-content;
  font-size: 14px;
  background: #3660fd;
  color: #fff;
  padding: 2px 5px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

@media (min-width: 768px) {
  .ryoex-feature-list > ul > li p {
    font-size: 16px;
  }

  .ryoex-feature-list > ul > li {
    padding: 11px 0;
  }

  .ryoex-feature-list > ul > li > svg {
    width: 18px;
    height: 18px;
    margin-top: 4px;
  }

  .ryoex-feature-list-dot .dot-icon {
    margin-top: 8px;
  }

  .ryoex-simple-list-wrap-2 .title {
    font-size: 16px;
  }
}

/* Simple lists */
.ryoex-simple-list,
.ryoex-simple-list-square,
.ryoex-simple-list-dot,
.ryoex-simple-list-style3,
.ryoex-simple-list-style4,
.ryoex-simple-list-style5 {
  margin-bottom: var(--ryoex-mb-h5);
  list-style: none;
}

.ryoex-simple-list > li {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

.ryoex-simple-list .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ryoex-simple-list .icon.small {
  width: 12px;
  height: 12px;
  margin-top: 4px;
}

.ryoex-simple-dot,
.black-dot {
  width: 8px;
  height: 8px;
  background: var(--ryoex-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.black-dot {
  background: #212121 !important;
}

.ryoex-simple-list-style5 .number {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  height: fit-content;
  line-height: normal;
  color: var(--ryoex-primary);
}

.ryoex-simple-list > li p {
  margin: 0;
  font-size: 14px;
  color: var(--ryoex-dark);
}

@media (min-width: 768px) {
  .ryoex-simple-list,
  .ryoex-simple-list-square,
  .ryoex-simple-list-dot,
  .ryoex-simple-list-style3,
  .ryoex-simple-list-style4,
  .ryoex-simple-list-style5 {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-simple-list > li {
    margin-top: 8px;
  }

  .ryoex-simple-list .icon {
    margin-top: 4px;
  }

  .ryoex-simple-list > li p {
    font-size: 16px;
  }

  .ryoex-simple-list .icon.small {
    margin-top: 6px;
  }

  .ryoex-simple-dot,
  .black-dot {
    margin-top: 8px;
  }

  .ryoex-simple-list-style5 .number {
    font-size: 16px;
  }
}

/* FAQ */
.ryoex-faq,
.ryoex-faq-style2 {
  width: 100%;
  border: 1px solid #aeaeae;
  background: #fff;
  margin-bottom: var(--ryoex-mb-h5);
}

.ryoex-faq-3 {
  width: 100%;
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.ryoex-faq-3 .left {
  width: 24px;
  height: 24px;
  font-size: 12px;
  background: #3660fd;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.ryoex-faq-3 .right {
  width: 100%;
}

.ryoex-faq-3 .right .accordion-question {
  width: 100%;
  min-height: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #aeaeae;
  padding: 2px 0;
}

.ryoex-faq-3 .right .accordion-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.ryoex-faq-3 .right .accordion-content > * {
  margin-bottom: 20px;
}

.ryoex-faq-style2 {
  background: #f0f3ff;
}

.ryoex-faq .faq-question {
  background: #d9d9d9;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-weight: 500;
  gap: 8px;
  font-size: 14px;
}

.ryoex-faq .faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  min-height: 40px;
}

.ryoex-faq .a-prefix,
.ryoex-faq .q-prefix {
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
}

.ryoex-faq .faq-answer .accordion-content {
  font-size: 14px;
  color: var(--ryoex-dark);
}

@media (min-width: 768px) {
  .ryoex-faq,
  .ryoex-faq-style2 {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-faq-3 {
    font-size: 16px;
  }

  .ryoex-faq-3 .left {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .ryoex-faq-3 .right .accordion-question {
    min-height: 30px;
  }

  .ryoex-faq-3 .right .accordion-content > * {
    margin-bottom: 23px;
  }

  .ryoex-faq .faq-question {
    min-height: 48px;
    padding: 10px 18px;
  }

  .ryoex-faq .faq-question .accordion-question,
  .ryoex-faq .a-prefix,
  .ryoex-faq .q-prefix,
  .ryoex-faq .faq-answer .accordion-content {
    font-size: 16px;
  }

  .ryoex-faq .faq-answer {
    min-height: 48px;
    padding: 10px 18px;
  }
}

.ryoex-faq-style2 .faq-question {
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ryoex-faq-style2 .faq-question .accordion-question {
  font-weight: 500;
}

.ryoex-faq-style2 .q-icon,
.ryoex-faq-style2 .a-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}

.ryoex-faq-style2 .q-icon {
  background: #212121;
}

.ryoex-faq-style2 .a-icon {
  background: var(--ryoex-primary);
}

.ryoex-faq-style2 .faq-question .accordion-question,
.ryoex-faq-style2 .faq-answer .accordion-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ryoex-dark);
}

.ryoex-faq-style2 .faq-answer {
  display: flex;
  gap: 12px;
  padding: 0 16px 12px;
}

@media (min-width: 768px) {
  .ryoex-faq-style2 .faq-question {
    padding: 30px 18px 23px;
  }

  .ryoex-faq-style2 .faq-answer {
    padding: 0 18px 27px;
  }

  .ryoex-faq-style2 .q-icon,
  .ryoex-faq-style2 .a-icon {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .ryoex-faq-style2 .faq-question .accordion-question,
  .ryoex-faq-style2 .faq-answer .accordion-content {
    font-size: 16px;
  }
}

/* Tables */
.ryoex-table {
  margin-bottom: var(--ryoex-mb-h5);
  width: 100%;
  overflow-x: auto;
}

.ryoex-table > table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}

.ryoex-table > table th,
.ryoex-table > table td {
  border: 1px solid #e5e7eb;
  padding: 8px;
  text-align: center;
}

.ryoex-table-blue thead tr {
  background: var(--ryoex-primary);
  color: #fff;
}

.ryoex-table-dark thead tr {
  background: #e5e7eb;
}

.ryoex-table-dark > table th {
  border: 1px solid #f3f4f6;
  border-left: #ffffff;
}

.ryoex-table > table tbody tr:hover {
  background: #f3f4f6;
}

/* Checklist Table - 复选框表格样式 */
/* 复用 .ryoex-table 和 table 的基础样式，只添加复选框表格特有的样式 */
.ryoex-table-checklist > table {
  min-width: auto;
  white-space: normal;
}

.ryoex-table-checklist > table th.ryoex-th-item {
  text-align: center;
  width: auto;
  min-width: 200px;
}

.ryoex-table-checklist > table th.ryoex-th-check {
  width: 80px;
  min-width: 80px;
}

.ryoex-table-checklist > table td.ryoex-td-item {
  text-align: center;
  color: #1f2937;
  word-break: break-word;
}

.ryoex-table-checklist > table td.ryoex-td-check {
  text-align: center;
  vertical-align: middle;
}

.ryoex-table-checklist .ryoex-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ryoex-primary);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  background-color: white;
  transition: all 0.2s;
  margin: 0;
  flex-shrink: 0;
}

.ryoex-table-checklist .ryoex-checkbox:checked {
  background-color: var(--ryoex-primary);
  border-color: var(--ryoex-primary);
}

.ryoex-table-checklist .ryoex-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.ryoex-table-checklist .ryoex-checkbox:hover {
  border-color: #2950d0;
}

.ryoex-table-checklist .ryoex-checkbox:checked:hover {
  background-color: #2950d0;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .ryoex-table-checklist > table {
    min-width: 400px;
  }

  .ryoex-table-checklist > table th.ryoex-th-item {
    min-width: 200px;
  }

  .ryoex-table-checklist > table th.ryoex-th-check {
    width: 70px;
    min-width: 70px;
  }

  .ryoex-table-checklist > table td.ryoex-td-item {
    min-width: 200px;
  }

  .ryoex-table-checklist > table td.ryoex-td-check {
    width: 70px;
    min-width: 70px;
  }

  .ryoex-table-checklist .ryoex-checkbox {
    width: 18px;
    height: 18px;
  }

  .ryoex-table-checklist .ryoex-checkbox:checked::after {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .ryoex-table-checklist > table th {
    height: 42px;
    box-sizing: border-box;
  }

  .ryoex-table-checklist > table th.ryoex-th-item {
    width: 60%;
  }

  .ryoex-table-checklist > table th.ryoex-th-check {
    width: 20%;
  }
}

@media (min-width: 768px) {
  .ryoex-table {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-table > table {
    font-size: 14px;
  }

  .ryoex-table > table th,
  .ryoex-table > table td {
    padding: 10px 16px;
  }
}

/* List with border */
.ryoex-list-border {
  width: 100%;
  border: 1px solid var(--ryoex-primary);
  background: #fff;
  margin-bottom: var(--ryoex-mb-h5);
}

.ryoex-list-border > div {
  background: var(--ryoex-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
  padding: 8px 24px;
}

.ryoex-list-border > ul {
  background: #fff;
  padding: 16px;
}

.ryoex-list-border > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  list-style: none;
  border-bottom: 1px dashed #aeaeae;
  padding-bottom: 14px;
  margin-bottom: 10px;
}

.ryoex-list-border > ul > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.ryoex-list-border .dot {
  width: 10px;
  height: 10px;
  background: #2867e8;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.ryoex-list-border .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ryoex-list-border > ul > li p {
  margin: 0;
  font-size: 12px;
  color: var(--ryoex-dark);
}

/* Numbered list inside bordered box */
.ryoex-list-border .num {
  width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 9999px;
  background: #2867e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (min-width: 768px) {
  .ryoex-list-border {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-list-border > div {
    min-height: 48px;
    font-size: 16px;
  }

  .ryoex-list-border > ul {
    padding: 24px 32px;
  }

  .ryoex-list-border > ul > li {
    padding-bottom: 16px;
  }

  .ryoex-list-border > ul > li p {
    font-size: 16px;
  }

  .ryoex-list-border .dot {
    margin-top: 8px;
  }

  .ryoex-list-border .num {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    margin-top: 2px;
    padding-bottom: 2px;
  }

  .ryoex-list-border .icon {
    margin-top: 4px;
    width: 18px;
    height: 18px;
  }
}

/* Article summary */
.ryoex-article-summary,
.ryoex-article-summary-light {
  margin-bottom: var(--ryoex-mb-h5);
}

.ryoex-article-summary,
.ryoex-article-summary-light {
  border: 1px solid #d1d5db;
}

.ryoex-article-summary > div,
.ryoex-article-summary-light > div {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 27px;
  padding: 12px 16px;
  min-height: 48px;
  margin: 0;
}

.ryoex-article-summary > div.dark {
  background: #000;
  color: #fff;
}

.ryoex-article-summary-light > div.light {
  background: #f3f4f6;
  color: var(--ryoex-dark);
}

.ryoex-article-summary > ul,
.ryoex-article-summary-light > ul {
  background: #fff;
  padding: 16px 16px;
}

.ryoex-article-summary > ul > li,
.ryoex-article-summary-light > ul > li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.ryoex-article-summary .dot,
.ryoex-article-summary-light .dot {
  width: 10px;
  height: 10px;
  background: var(--ryoex-dark);
  border-radius: 50%;
  margin-top: 1px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ryoex-article-summary,
  .ryoex-article-summary-light {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-article-summary > div,
  .ryoex-article-summary-light > div {
    font-size: 16px;
    min-height: 51px;
    padding: 12px 24px;
  }

  .ryoex-article-summary > ul,
  .ryoex-article-summary-light > ul {
    padding: 24px 24px;
  }

  .ryoex-article-summary > ul > li,
  .ryoex-article-summary-light > ul > li {
    font-size: 16px;
  }

  .ryoex-article-summary .dot,
  .ryoex-article-summary-light .dot {
    margin-top: 4px;
  }

  .ryoex-article-summary > ul > li > p,
  .ryoex-article-summary-light > ul > li > p {
    font-size: 16px;
  }
}

/* Buttons */
.ryoex-button-full,
.ryoex-button-simple {
  width: 100%;
  text-align: center;
  padding: 0 16px;
  margin-bottom: var(--ryoex-mb-h5);
}

.ryoex-button-full .desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
}

.ryoex-highlight-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--ryoex-primary);
}

.ryoex-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  min-width: 100px;
  min-height: 40px;
  border-radius: 8px;
  background: var(--ryoex-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.25s ease,
    scale 0.25s ease;
}

.ryoex-btn-primary:hover,
.ryoex-btn-primary:active {
  background: #212121;
  scale: 1.03;
  text-decoration: none !important;
}

.ryoex-btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.ryoex-button-full .link-wrap {
  display: flex;
  justify-content: center;
}

.ryoex-btn-link {
  margin-top: 12px;
  display: block;
  font-size: 14px;
  color: var(--ryoex-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ryoex-btn-link:hover {
  color: var(--ryoex-primary);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .ryoex-button-full,
  .ryoex-button-simple {
    margin-bottom: var(--ryoex-mb);
  }

  .ryoex-button-full .desc {
    font-size: 16px;
  }

  .ryoex-btn-primary {
    min-width: 150px;
    font-size: 16px;
    min-height: 48px;
  }
}

/* Share */
.ryoex-share {
  margin: 70px 0 0;
  border-top: 1px solid #000;
  padding-top: 70px;
}

@media (min-width: 768px) {
  .ryoex-share {
    margin-top: 108px;
    padding-top: 104px;
  }
}

.ryoex-share-text {
  text-align: center;
  font-size: 14px;
  margin: 0 0 12px;
}

.ryoex-share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ryoex-share-btn {
  width: 32.8px;
  height: 32.8px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.2s ease;
}

.ryoex-share-btn:hover {
  opacity: 0.8;
}

.ryoex-share-icon {
  width: 100%;
  height: 100%;
}

/* Related article */
.ryoex-related-article {
  margin: 32px 0 20px;
  border: 1px solid #000;
}

.ryoex-related-article:hover .ryoex-related-title {
  color: var(--ryoex-primary) !important;
}

.ryoex-related-article:hover a {
  text-decoration: none !important;
}

.ryoex-related-article .ryoex-related-label-wrap {
  position: relative;
  height: 0;
}

.ryoex-related-article .ryoex-related-label {
  position: absolute;
  top: -12px;
  left: 54px;
  background: #fff;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ryoex-related-article .ryoex-related-icon {
  width: 21px;
  height: 21px;
}

.ryoex-related-article .ryoex-related-label-text {
  font-size: 14px;
  line-height: 21px;
}

.ryoex-related-article .ryoex-related-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 16px 16px;
  color: #212121 !important;
}

@media (min-width: 768px) {
  .ryoex-related-article {
    margin: 42px 0 24px;
  }

  .ryoex-related-article .ryoex-related-body {
    flex-direction: row;
    padding: 24px 16px 16px;
  }

  .ryoex-related-article .ryoex-related-label {
    top: -17px;
  }

  .ryoex-related-article .ryoex-related-label-text {
    font-size: 15px;
    line-height: 34px;
  }
}

.ryoex-related-article .ryoex-related-image {
  width: 100%;
  max-width: 205px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ryoex-related-article .ryoex-related-image-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 205/124;
  overflow: hidden;
}

.ryoex-related-article .ryoex-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ryoex-related-article .ryoex-related-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.ryoex-related-article .ryoex-related-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.ryoex-related-article .ryoex-related-desc {
  font-size: 12px;
  color: #4e4e4e;
  margin: 0;
}

@media (min-width: 768px) {
  .ryoex-related-article .ryoex-related-title {
    font-size: 18px;
  }

  .ryoex-related-article .ryoex-related-desc {
    font-size: 14px;
  }
}

/* Media */
.ryoex-media {
  margin: 28px 0;
}

.ryoex-media .ryoex-media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #000;
  background: #fff;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-card {
    flex-direction: row;
  }
}

.ryoex-media .ryoex-media-left {
  width: 100%;
  background: #212121;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 160px;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-left {
    width: 200px;
    min-height: 197px;
    padding: 24px;
  }
}

.ryoex-media .ryoex-media-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.ryoex-media .ryoex-media-logo.desktop {
  width: 94px;
  display: none;
}

.ryoex-media .ryoex-media-logo.mobile {
  height: 20px;
  display: block;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-logo.desktop {
    display: block;
  }

  .ryoex-media .ryoex-media-logo.mobile {
    display: none;
  }
}

.ryoex-media .ryoex-media-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 34px;
  margin: 0;
}

.ryoex-media .ryoex-media-right {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-right {
    padding: 20px 24px;
  }
}

.ryoex-media .ryoex-media-bio {
  font-size: 14px;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-bio {
    font-size: 16px;
  }
}

.ryoex-media .ryoex-media-social {
  display: flex;
  gap: 13px;
  justify-content: center;
}

@media (min-width: 768px) {
  .ryoex-media .ryoex-media-social {
    justify-content: flex-start;
  }
}

.ryoex-media .ryoex-media-social-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.ryoex-media .ryoex-media-social-btn:hover {
  opacity: 0.8;
}

.ryoex-media .ryoex-media-social-icon {
  width: 34px;
  height: 34px;
}
