a {
    color: #ED6C00;
}

a:visited {
    color: #ED6C00;
}

body {
    font-family: Noto Sans SC;   /* 思源黑体 */
    font-weight: 400;
    color: #404040;
    min-height: 100%;
    background: #EDEDED
}

.wy-side-nav-search>div.version {
    color: #404040;
    /* color: #221714; */
    font-weight: bold;
}

.wy-side-nav-search>a.icon-home {
    font-size: 0;
    padding: 0;
    margin-bottom: 20px;
}

.wy-side-nav-search>a.icon-home img.logo {
    width: 65%;
    padding: 0;
}

.wy-side-nav-search input[type=text] {
    border-radius: 0;
    border-color: #ED6C00;
}

.wy-menu-vertical header, .wy-menu-vertical p.caption {
    color: #ED6C00;
}

.wy-menu-vertical a {
    padding: .2em 1.618em;
}

.wy-side-nav-search, .wy-nav-top {
    background-color: #EDEDED;
    /* background-color: #F2F2F2; */
}

.wy-nav-side {
    background-color: #EDEDED;
    /* background-color: #F2F2F2; */
}

.wy-menu-vertical a, .wy-menu-vertical a:visited {
    color: #221714;
}

.wy-menu-vertical a:hover {
    background-color: transparent;
    color: #ED6C00;
}

.wy-nav-content-wrap {
    background: #fefefe !important;
}

.ethical-rtd {
    display: none;
}

.wy-table-responsive {
    display: flex;
    justify-content: center;
 }

/* override table width restrictions */
@media screen and (min-width: 767px) {

    .wy-table-responsive table td {
       /* !important prevents the common CSS stylesheets from overriding
          this as on RTD they are loaded after this stylesheet */
       white-space: normal !important;
    }

    .wy-table-responsive {
       overflow: visible !important;
    }
 }

.rst-content section td > ul {
    margin-bottom: 0 !important
}

.rst-content .toctree-wrapper ul li>* {
    margin-top: 0 !important;
    margin-bottom: 0 !important
}

.rst-content div.figure, 
.rst-content figure {
    margin-bottom: 24px !important;
}
.rst-content .section>a>img, .rst-content .section>img, .rst-content section>a>img, .rst-content section>img {
    margin-bottom: 24px !important;
}
.rst-content .centered strong{
    font-weight: normal !important;
}
.sheet-center {
    text-align: center;
}
table.sheet-center {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.rst-content table.no-padding td {
    padding: 8px 0px !important;
}
figure a.reference img,
a.reference img {
    border: 1px solid #221714;
}
.wy-breadcrumbs-aside > a{
    display: none;
}

/* ---------- 插件卡片整体样式 ---------- */

.plugin-card {
    border: 1px solid #e5e5e5 !important;
    border-radius: 10px !important;
    /* padding: 20px !important; */
    background: #fff;
    transition: box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plugin-card:hover {
    border-color: #ccc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ---------- 插件图标 ---------- */
.plugin-icon {
    /* width: 40px; */
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 12px;
}

.plugin-icon svg {
    width: 20px;
    height: 20px;
}

.plugin-icon.pallet {
    background: rgba(37, 99, 235, 0.08);
}

.plugin-icon.loading {
    background: rgba(22, 163, 74, 0.08);
}

.plugin-icon.vision {
    background: rgba(147, 51, 234, 0.08);
}

.plugin-icon.weld {
    background: rgba(220, 38, 38, 0.08);
}

.plugin-icon.force {
    background: rgba(107, 114, 128, 0.08);
}

.plugin-icon.conveyor {
    background: rgba(37, 99, 235, 0.06);
}

/* ---------- 卡片标题 ---------- */
.plugin-card .sd-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

/* ---------- 卡片描述 ---------- */
.plugin-card .sd-card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 卡片底部操作区 ---------- */
.plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-top: 12px; */
    flex-wrap: nowrap;
    gap: 8px;
}

.plugin-footer p{
    margin-bottom: 0;
}

/* ---------- 按钮样式（配合现有样式） ---------- */
.plugin-footer .sd-btn {
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-block;
    white-space: nowrap;
}

.plugin-footer .sd-btn-outline-primary {
    border: 1px solid #e5e5e5 !important;
    color: #1a1a1a !important;
    background: #fff !important;
}

.plugin-footer .sd-btn-outline-primary:hover {
    border-color: #ccc !important;
    background: #f7f7f7 !important;
}

.plugin-footer .sd-btn-primary {
    background: #1a1a1a !important;
    border: 1px solid #1a1a1a !important;
    color: #fff !important;
}

.plugin-footer .sd-btn-primary:hover {
    background: #333 !important;
    border-color: #333 !important;
}

.plugin-grid-container .sd-col {
    padding-left: 0 !important;
    padding-top: 0 !important;
}