* {
    box-sizing: border-box;
}

.resource-page {
    min-width: 1200px;
    background: #f6f7fa;
    color: #1f2937;
}

.resource-page a {
    text-decoration: none;
}

.resource-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%);
}

.resource-site-header.is-scrolled {
    background: #fff;
}

.resource-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    height: 72px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: content-box;
}

.resource-site-header__logo img {
    display: block;
    width: 155px;
    height: 37px;
}

.resource-site-header__nav {
    display: flex;
    align-items: center;
    margin: 0 35px;
    font-size: 16px;
}

.resource-site-header__nav a,
.resource-site-header__nav-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin: 0 5px;
    padding: 0 15px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #303133;
    font: inherit;
    line-height: 32px;
    cursor: pointer;
    white-space: nowrap;
}

.resource-site-header__nav a.active,
.resource-site-header__nav-button.active,
.resource-site-header__nav-button.is-open {
    color: #1b60fe;
    background: #f8f9fd;
}

.resource-site-header__nav a:hover,
.resource-site-header__nav-button:hover {
    color: #1b60fe;
    background: #f8f9fd;
}

.resource-site-header__nav-button i {
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
}

.resource-site-header__nav-button.is-open i {
    transform: translateY(2px) rotate(225deg);
}

.resource-site-header__whatsapp {
    padding-right: 28px !important;
}

.resource-site-header__whatsapp span {
    position: absolute;
    top: 0;
    right: 0;
    color: #d40000;
    font-size: 12px;
    line-height: 1;
}

.resource-site-header__actions {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
}

.resource-site-header__actions a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #303133;
    white-space: nowrap;
}

.resource-site-header__actions a:hover {
    color: #1b60fe;
    background: #f8f9fd;
}

.resource-site-header__actions .primary {
    justify-content: center;
    width: 136px;
    height: 40px;
    padding: 0;
    border-radius: 4px;
    background: #1b60fe;
    box-shadow: 0 4px 15px 0 rgba(11, 31, 175, 0.25);
    color: #fff;
    line-height: 40px;
    text-align: center;
}

.resource-site-header__actions .primary:hover {
    background: #1b51cb;
    color: #fff;
}

.resource-site-header__actions svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.resource-site-header__actions a:hover svg path {
    stroke: currentColor;
}

.resource-site-header__login:hover svg path[fill="#303133"] {
    fill: currentColor;
}

.resource-site-header__mobile,
.resource-site-mobile-drawer {
    display: none;
}

.resource-page {
    padding-top: 72px;
}

.resource-mega {
    position: fixed;
    top: 72px;
    left: 50%;
    display: none;
    width: calc(100% - 60px);
    max-width: 1400px;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 15px 20px rgba(48, 49, 51, 0.06);
    overflow: hidden;
    transform: translateX(-50%);
}

.resource-mega.is-open {
    display: block;
}

.resource-mega__inner {
    display: grid;
    gap: 40px;
    padding: 30px;
}

.resource-mega--product .resource-mega__inner {
    grid-template-columns: 600px repeat(2, minmax(0, 1fr));
}

.resource-mega-product__group h3 {
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebedf0;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.resource-mega-product__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin-top: 20px;
}

.resource-mega-product__group:nth-child(n + 2) .resource-mega-product__grid {
    grid-template-columns: 1fr;
}

.resource-mega-product__grid a,
.resource-mega-resource__panel a {
    display: grid;
    color: #303133;
}

.resource-mega-product__grid a {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon desc";
    gap: 2px 15px;
    min-height: 56px;
    padding: 10px;
    border-radius: 8px;
}

.resource-mega-product__grid a.active,
.resource-mega-product__grid a:hover,
.resource-mega-resource__side button.active,
.resource-mega-resource__side button:hover,
.resource-mega-resource__panel a.active,
.resource-mega-resource__panel a:hover {
    background: #f8f9fd;
}

.resource-mega-product__grid i,
.resource-mega-resource__side i {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

.resource-mega-product__grid i {
    grid-area: icon;
}

.icon-customs {
    background-image: url("/images/resource/product1-1.svg") !important;
}

.icon-exhibition {
    background-image: url("/images/resource/product1-2.svg") !important;
}

.icon-map {
    background-image: url("/images/resource/product1-3.svg") !important;
}

.icon-facebook {
    background-image: url("/images/resource/product1-4.svg") !important;
}

.icon-whatsapp {
    background-image: url("/images/resource/product1-5.svg") !important;
}

.icon-linkedin {
    background-image: url("/images/resource/product1-6.svg") !important;
}

.icon-whatsapp-market {
    background-image: url("/images/resource/product2-1.svg") !important;
}

.icon-mail {
    background-image: url("/images/resource/product2-2.svg") !important;
}

.icon-sms {
    background-image: url("/images/resource/product2-3.svg") !important;
}

.icon-warm {
    background-image: url("/images/resource/product3-1.svg") !important;
}

.icon-whatsapp-manage {
    background-image: url("/images/resource/product3-2.svg") !important;
}

.icon-crm {
    background-image: url("/images/resource/product3-3.svg") !important;
}
.icon-solution {
    background-image: url("/images/resource/resource-1.svg") !important;
}
.icon-scenario {
    background-image: url("/images/resource/resource-2.svg") !important;
}
.icon-api {
    background-image: url("/images/resource/resource-4.svg") !important;
}

.icon-solution,
.icon-scenario,
.icon-api {
    position: relative;
}

.icon-help {
    background-image: url("/images/resource/service.svg") !important;
}

.resource-mega-product__grid strong,
.resource-mega-resource__panel strong {
    grid-area: title;
    color: #303133;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.resource-mega-product__grid span,
.resource-mega-resource__panel span {
    grid-area: desc;
    overflow: hidden;
    color: #555555;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-mega-resource {
    grid-template-columns: 344px minmax(0, 1fr);
    gap: 0;
    padding: 0;
}

.resource-mega-resource__side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    border-right: 1px solid #ebedf0;
}

.resource-mega-resource__side button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 15px;
    align-items: center;
    height: 56px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #555555;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.resource-mega-resource__side button.active {
    color: #303133;
}

.resource-mega-resource__side em {
    width: 8px;
    height: 8px;
    border-top: 1px solid #303133;
    border-right: 1px solid #303133;
    transform: rotate(45deg);
}

.resource-mega-resource__content {
    min-height: 254px;
    padding: 30px 30px 30px 50px;
}

.resource-mega-resource__panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 40px;
}

.resource-mega-resource__panel.active {
    display: grid;
}

.resource-mega-resource__panel a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* min-height: 57px; */
    padding: 10px 16px;
    border-radius: 8px;
}

.resource-shell {
    width: min(1400px, calc(100% - 60px));
    margin: 0 auto;
    padding: 0 0 100px;
}

.resource-tabs {
    width: 100%;
    padding: 0;
}

.resource-tabs__inner {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    /* padding: 0 0 0 8px; */
    border-bottom: 1px solid #dcdee0;
    flex-wrap: nowrap;
}

.resource-tabs__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 52px;
    padding: 16px 8px;
    color: #898b95;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.resource-tabs__item.active {
    color: #1a60fe;
    font-weight: 500;
}

.resource-tabs__item.active::after {
    position: absolute;
    right: 8px;
    left: 0;
    bottom: -1px;
    height: 2px;
    content: "";
    background: #1a60fe;
}

.resource-tabs__icon,
.resource-tool-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-tabs__icon {
    width: 20px;
    height: 20px;
}

.resource-tabs__label {
    display: block;
    font-size: 16px;
    font-weight: inherit;
    line-height: 1;
    white-space: nowrap;
}

.resource-tabs__icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.resource-breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 30px 0;
    color: #898b95;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.resource-breadcrumb a,
.resource-breadcrumb em {
    max-width: 420px;
    overflow: hidden;
    color: #898b95;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-breadcrumb em {
    color: #303133;
}

.resource-breadcrumb span {
    width: 8px;
    height: 8px;
    border-top: 1.8px solid #898b95;
    border-right: 1.8px solid #898b95;
    transform: rotate(45deg);
}

.resource-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1020px) 360px;
    gap: 20px;
    align-items: start;
}

.resource-list-panel,
.resource-detail-panel,
.tutorial-categories,
.resource-card {
    /* border: 1px solid #E5E7EB; */
    border-radius: 4px;
    background: #fff;
}

.resource-list-panel {
    padding: 30px;
}

.resource-list-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 148px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #111827;
}

.resource-list-card + .resource-list-card {
    margin-top: 20px;
}

.resource-list-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.resource-thumb,
.resource-video-thumb,
.resource-article-cover,
.resource-video-cover {
    background: linear-gradient(135deg, #bee3ff 0%, #75bdf6 100%);
    background-position: center;
    background-size: cover;
}

.resource-thumb {
    position: relative;
    display: block;
    width: 260px;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
}

/* .resource-thumb::before,
.resource-article-cover::before,
.resource-video-cover::before {
    position: absolute;
    top: 18px;
    left: 18px;
    content: "Geeksend";
    color: #4338CA;
    font-size: 14px;
    font-weight: 700;
} */

/* .resource-thumb::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 0;
    height: 0;
    content: "";
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #fff;
} */

/* .resource-thumb--image::before,
.resource-thumb--image::after {
    display: none;
} */

.resource-thumb i {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 2px 6px;
    border-radius: 2px;
    background: rgba(31, 41, 55, 0.45);
    color: #fff;
    font-size: 11px;
    font-style: normal;
}

.resource-list-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.resource-list-card__body strong {
    overflow: hidden;
    color: #303133;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    transition: color 0.2s;
    white-space: nowrap;
}

.resource-list-card__body em {
    height: 42px;
    display: -webkit-box;
    overflow: hidden;
    font-style: normal;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.resource-list-card:hover .resource-list-card__body strong,
.resource-list-card:hover .resource-list-card__body em {
    color: #1a60fe;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    /* margin-top: 14px; */
    color: #6b7280;
    font-size: 13px;
}

.resource-meta b {
    font-weight: 400;
}

.resource-meta small {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.resource-search-highlight {
    color: #1a60fe;
}

.tag-blue {
    background: #eef4ff;
    color: #1b60fe;
}

.tag-purple {
    background: #f0edff;
    color: #6b5bff;
}

.tag-green {
    background: #eaf8ed;
    color: #1a9b53;
}

.resource-pagination {
    margin-top: 16px;
    text-align: center;
}

.resource-pagination * {
    box-sizing: border-box;
}

.resource-pagination__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.resource-pagination__pages {
    display: flex;
    gap: 8px;
    align-items: center;
}

.resource-pagination__page,
.resource-pagination__arrow {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdee0;
    border-radius: 4px;
    background: #ffffff;
    color: #555555;
    font-size: 14px;
    line-height: 22px;
    transition: 0.1s;
}

.resource-pagination__page:hover,
.resource-pagination__page.is-active {
    border-color: #1a60fe;
    background: #1a60fe;
    color: #ffffff;
}

.resource-pagination__arrow {
    border-color: transparent;
}

.resource-pagination__arrow::before {
    width: 8px;
    height: 8px;
    border-top: 1.6px solid #555555;
    border-right: 1.6px solid #555555;
    content: "";
}

.resource-pagination__arrow--prev::before {
    transform: rotate(-135deg);
}

.resource-pagination__arrow--next::before {
    transform: rotate(45deg);
}

.resource-pagination__arrow.is-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.resource-pagination__jump {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 160px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #555555;
    font-size: 14px;
    line-height: 22px;
}

.resource-pagination__input {
    width: 46px;
    height: 30px;
    padding: 3px 8px;
    border: 1px solid #dcdee0;
    border-radius: 3px;
    outline: none;
    color: #303133;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.resource-pagination__input:focus {
    border-color: #1a60fe;
}

.resource-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.resource-card {
    padding: 24px;
}

.resource-tools {
    padding: 25px;
}

.resource-tool-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 41px;
    padding: 6px;
    overflow: hidden;
    border: 1px solid #dcdee0;
    border-radius: 4px;
}

.resource-tool-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 15px;
    border-radius: 4px;
    color: #898b95;
    font-size: 14px;
    line-height: 1.5;
}

.resource-tool-tabs a.active {
    background: #1a60fe;
    color: #fff;
    font-weight: 500;
}

.resource-tool-list {
    display: none;
    margin-top: 20px;
}

.resource-tool-list.active {
    display: block;
}

.resource-tool-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    min-height: 47px;
    color: #303133;
}

.resource-tool-item + .resource-tool-item {
    margin-top: 15px;
}

.resource-tool-item__icon {
    width: 38px;
    height: 38px;
    /* border-radius: 8px; */
}

.resource-tool-item__icon--blue {
    background-image: url("/images/resource/feature1-1.svg");
}

.resource-tool-item__icon--orange {
    background-image: url("/images/resource/feature1-2.svg");
}

.resource-tool-item__icon--red {
    background-image: url("/images/resource/feature1-3.svg");
}

.resource-tool-item__icon--cyan {
    background-image: url("/images/resource/feature1-4.svg");
}

.resource-tool-item__icon--green {
    background-image: url("/images/resource/feature1-5.svg");
}

.resource-tool-item__icon--sky {
    background-image: url("/images/resource/feature1-6.svg");
}

.resource-tool-item strong,
.resource-video-item strong {
    display: block;
    overflow: hidden;
    color: #303133;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-tool-item em,
.resource-video-item em {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: #555555;
    font-size: 12px;
    font-style: normal;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-tool-item strong,
.resource-tool-item em {
    transition: color 0.2s;
}

.resource-tool-item:hover strong,
.resource-tool-item:hover em {
    color: #1a60fe;
}

/* .resource-tool-item:hover {
    box-shadow: 0 8px 18px rgba(27, 96, 254, 0.08);
    transform: translateY(-1px);
} */

.resource-card h2 {
    margin-bottom: 18px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.resource-video-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    color: #111827;
}

.resource-video-item + .resource-video-item {
    margin-top: 14px;
}

.resource-video-item strong {
    transition: color 0.2s;
}

.resource-video-item:hover strong {
    color: #1a60fe;
}

.resource-video-thumb {
    position: relative;
    display: block;
    width: 140px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.resource-video-thumb i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.72);
    transform: translate(-50%, -50%);
}

.resource-card__title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-card__title h2 {
    margin-bottom: 0;
    color: #303133;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.resource-refresh-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dcdee0;
    border-radius: 4px;
    cursor: pointer;
}

.resource-refresh-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.resource-refresh-icon:hover svg path {
    stroke: #1a60fe;
}

.resource-article-recommend ul {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.resource-article-recommend ul.active {
    display: flex;
}

.resource-article-recommend li {
    position: relative;
    padding-left: 16px;
    line-height: 1.5;
}

.resource-article-recommend li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: #1a60fe;
}

.resource-article-recommend a {
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
}

.resource-article-recommend a:hover {
    color: #1a60fe;
}

.resource-service__head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.resource-service__head > span {
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: url("/images/resource/service.svg") center no-repeat;
}

.resource-service__head h2 {
    margin: 0;
}

.resource-service__head p {
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.resource-service__qr {
    margin-top: 20px;
    padding: 28px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
}

.resource-service__qr img {
    width: 112px;
    height: 112px;
}

.resource-service__qr p,
.resource-service__contact p {
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}

.resource-service__contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-service__contact img {
    display: block;
    width: 20px;
    height: 20px;
}

.resource-service__contact span {
    flex: 1;
    color: #374151;
}

.resource-service__contact button {
    border: 0;
    background: none;
    transition: 0.3s;
    color: #1b60fe;
    cursor: pointer;
}
.resource-service__contact button:hover {
    opacity: 0.8;
}
.resource-tutorial-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 360px;
    align-items: stretch;
    /* border: 1px solid #EBEDF0; */
    border-radius: 4px;
    /* background: #FFFFFF; */
}

.resource-tutorial-layout--list {
    display: block;
    overflow: hidden;
}

.resource-tutorial-layout__content {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
}

.tutorial-categories {
    /* min-height: 100%; */
    padding: 25px;
    border: 0;
    border-right: 1px solid #dcdee0;
    border-radius: 4px 0 0 4px;
}

.tutorial-categories h2 {
    margin-bottom: 20px;
    color: #303133;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.tutorial-category h3 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0;
    padding: 8px 24px 8px 0;
    color: #555555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
}

.tutorial-category__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

.tutorial-category__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.tutorial-category h3::after {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #555555;
    border-bottom: 1.5px solid #555555;
    content: "";
    transform: translateY(-60%) rotate(45deg);
}

.tutorial-category.open h3 {
    color: #303133;
}

.tutorial-category.open h3::after {
    transform: translateY(-35%) rotate(225deg);
}

.tutorial-category div {
    display: none;
    padding: 0 0 0 12px;
}

.tutorial-category.open div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tutorial-category a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 4px;
    color: #555555;
    font-size: 14px;
}

.tutorial-category a.active,
.tutorial-category a:hover {
    background: #f5f7ff;
    color: #1a60fe;
}

.resource-list-panel--tutorial {
    padding: 25px 24px 24px;
    border: 0;
    border-radius: 0 4px 4px 0;
}

.resource-list-card--tutorial {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-height: 182px;
    padding: 20px;
    border-color: #ebedf0;
}

.resource-list-card--tutorial + .resource-list-card--tutorial {
    margin-top: 20px;
}

.resource-list-card--tutorial .resource-thumb {
    display: block;
    flex: none;
    width: 252px;
    min-width: 252px;
    height: 140px;
    padding: 15px;
    border-radius: 4px;
}

/* .resource-list-card--tutorial .resource-thumb::before {
    top: 15px;
    left: 15px;
    font-size: 12px;
}

.resource-list-card--tutorial .resource-thumb::after {
    right: 12px;
    bottom: 14px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 9px;
} */

.resource-list-card--tutorial .resource-thumb i {
    left: 12px;
    bottom: 12px;
    padding: 2px 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 10px;
    line-height: 1.3;
}

.resource-list-card--tutorial .resource-list-card__body {
    display: flex;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.resource-list-card--tutorial .resource-list-card__body strong {
    display: block;
    color: #303133;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.resource-list-card--tutorial .resource-list-card__body em {
    display: -webkit-box;
    margin-top: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    -webkit-line-clamp: 2;
}

.resource-list-card--tutorial .resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0;
    font-size: 12px;
    width: 100%;
}

.resource-list-card--tutorial .resource-meta b {
    display: inline-flex;
    align-items: center;
    color: #555555;
    white-space: nowrap;
}

.resource-meta b::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    background: url("/images/resource/date.svg") no-repeat center center;
}

.resource-detail-panel {
    min-height: 860px;
    padding: 30px;
}

.resource-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 24px; */
    color: #555;
    font-size: 14px;
}

.resource-back svg {
    flex: 0 0 14px;
}

.resource-article-cover,
.resource-video-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 330px;
    overflow: hidden;
    border-radius: 6px;
}

.resource-article-cover span,
.resource-video-cover span {
    max-width: 72%;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}

.resource-video-cover button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.7);
    transform: translate(-50%, -50%);
}

.resource-detail-panel h1 {
    margin-top: 24px;
    color: #111827;
    font-size: 18px;
    line-height: 1.6;
}

.resource-detail-meta {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
}

.resource-detail-meta span:last-child {
    padding: 2px 10px;
    border-radius: 4px;
    background: #eef4ff;
    color: #1b60fe;
}

.resource-detail-intro {
    margin-top: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.resource-content {
    margin-top: 24px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.resource-content h2,
.resource-content h3,
.resource-content h4 {
    /* margin: 28px 0 12px; */
    color: #303133;
}

.resource-content p {
    margin: 12px 0;
}

.resource-content img {
    max-width: 100%;
    height: auto;
}

/* .resource-related-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.resource-related-tags h2 {
    margin-bottom: 14px;
    color: #111827;
    font-size: 16px;
}

.resource-related-tags a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 4px 12px;
    border-radius: 4px;
    background: #F3F4F6;
    color: #6B7280;
    font-size: 12px;
} */

.resource-detail-side .resource-sidebar {
    padding: 0 0 0 20px;
}

.resource-empty {
    position: relative;
    height: 260px;
    margin: 30px 0 40px;
    color: #6b7280;
    background: url(/images/resource/empty.png) center center / contain no-repeat;
}
.resource-empty >span{
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
}
.resource-home {
    min-width: 1200px;
}

.resource-home-hero {
    width: 100%;
    padding: 28px 0 16px;
    background:
        radial-gradient(circle at 84% 28%, rgba(81, 162, 255, 0.1), transparent 24%),
        /* radial-gradient(circle at 78% 74%, rgba(97, 97, 255, 0.12), transparent 20%), */
        linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%, #fff 50%, #fff 100%);
}

.resource-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 600px);
    align-items: center;
    justify-content: space-between;
    width: min(1400px, calc(100% - 60px));
    max-width: 1400px;
    min-height: 320px;
    margin: 0 auto;
}

.resource-home-hero__content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
}

.resource-home-hero__badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1px solid #edf4fe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 6px rgba(12, 45, 95, 0.06);
    color: #151433;
    font-size: 14px;
    line-height: 1.5;
}

.resource-home-hero__badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a60fe;
}

.resource-home-hero h1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    color: #333333;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;
}

.resource-home-hero h1 span,
.resource-home-hero h1 strong {
    display: block;
}

.resource-home-hero h1 strong {
    color: #1a60fe;
    font-weight: 600;
}

.resource-home-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
    align-items: center;
    width: 520px;
}

.resource-home-search__field {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
    height: 48px;
    padding: 0 14px;
    border: 2px solid #1a60fe;
    border-radius: 6px;
    background: #ffffff;
}

.resource-home-search__icon {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    /* background: url("/images/facebook-lead/search.svg") center center / contain no-repeat; */
}

.resource-home-search__icon::before,
.resource-home-search__icon::after {
    position: absolute;
    content: "";
}

.resource-home-search__icon::before {
    top: 1px;
    left: 1px;
    width: 12px;
    height: 12px;
    border: 2px solid #898b95;
    border-radius: 50%;
}

.resource-home-search__icon::after {
    right: 1px;
    bottom: 0;
    width: 7px;
    height: 2px;
    background: #898b95;
    transform: rotate(45deg);
    transform-origin: center;
}

.resource-home-search input {
    min-width: 0;
    height: 24px;
    padding: 0;
    border: 0;
    outline: none;
    background: #ffffff;
    color: #303133;
    font-size: 16px;
    line-height: 1.5;
}

.resource-home-search input::placeholder {
    color: #898b95;
}

.resource-home-search__clear {
    position: relative;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #c8c9cc;
    cursor: pointer;
}

.resource-home-search__clear::before,
.resource-home-search__clear::after {
    position: absolute;
    top: 9px;
    left: 5px;
    width: 10px;
    height: 1px;
    background: #ffffff;
    content: "";
}

.resource-home-search__clear::before {
    transform: rotate(45deg);
}

.resource-home-search__clear::after {
    transform: rotate(-45deg);
}

.resource-home-search .resource-search-button {
    position: relative;
    left: -11px;
    height: 48px;
    border: 2px solid #1a60fe;
    border-radius: 0 6px 6px 0;
    background: #1a60fe;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.resource-home-hero__keywords {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #555555;
    font-size: 18px;
    line-height: 1.5;
}

.resource-home-hero__keywords i {
    width: 1px;
    height: 16px;
    background: #dcdee0;
}

.resource-home-hero__visual {
    position: relative;
    height: 360px;
    width: 600px;
    background: url("/images/resource/hero.png") center center / contain no-repeat;
}

.resource-footer-banner {
    padding: 64px 0;
    background: #181b34;
}

.resource-footer-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.resource-footer-banner__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.resource-footer-banner__content h2 {
    margin: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.5;
}

.resource-footer-banner__content p {
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.5;
}

.resource-footer-banner__actions {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.resource-footer-banner__button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #dcdee0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        background-color 0.2s,
        border-color 0.2s,
        color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.resource-footer-banner__button--primary {
    background: #ffffff;
    color: #303133;
}

.resource-footer-banner__button--primary:hover {
    background: #f8f9fd;
    border-color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.resource-footer-banner__button--secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.resource-footer-banner__button--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.resource-footer-banner__button svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.resource-home-visual__orbit {
    position: absolute;
    top: 0;
    right: 0;
    width: 460px;
    height: 320px;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
}

.orbit-ring--outer {
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0 50%, rgba(24, 210, 171, 0.12) 50% 100%), #ffffff;
    border: 1px solid #edf4fe;
}

.orbit-ring--mid {
    top: 39px;
    right: 39px;
    width: 242px;
    height: 242px;
    border: 1px dashed #dde8ff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0 50%, rgba(24, 210, 171, 0.08) 50% 100%);
}

.orbit-ring--inner {
    top: 79px;
    right: 79px;
    width: 163px;
    height: 163px;
    border: 1px solid rgba(26, 96, 254, 0.08);
    background: radial-gradient(circle at center, rgba(97, 97, 255, 0.08), rgba(255, 255, 255, 0) 68%);
}

.orbit-center {
    position: absolute;
    top: 118px;
    right: 118px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0 35%, transparent 35% 100%), #1a60fe;
    box-shadow: 0 0 0 16px rgba(26, 96, 254, 0.08);
}

.orbit-center::before,
.orbit-center::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    content: "";
    transform: translate(-50%, -50%);
    box-shadow:
        -11px 0 0 #ffffff,
        11px 0 0 #ffffff,
        0 -11px 0 #ffffff,
        0 11px 0 #ffffff;
}

.orbit-dot {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #edf4fe;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(16, 24, 40, 0.08);
}

.orbit-dot::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    content: "";
    transform: translate(-50%, -50%);
}

.orbit-dot--top-left {
    top: 71px;
    right: 214px;
}

.orbit-dot--top-left::before {
    background: linear-gradient(180deg, #ff8787 0%, #eb445a 100%);
}

.orbit-dot--top-right {
    top: 56px;
    right: 18px;
}

.orbit-dot--top-right::before {
    background: linear-gradient(180deg, #ffc46b 0%, #ff9800 100%);
    border-radius: 50%;
}

.orbit-dot--bottom-right {
    top: 226px;
    right: 78px;
}

.orbit-dot--bottom-right::before {
    background: linear-gradient(180deg, #ffb34d 0%, #ff9800 100%);
}

.resource-home-visual__panel {
    position: absolute;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #edf4fe;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

.resource-home-visual__panel > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.resource-home-visual__panel strong {
    display: flex;
    gap: 4px;
    align-items: center;
    color: #303133;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.resource-home-visual__panel strong i {
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
}

.resource-home-visual__panel span {
    color: #555555;
    font-size: 10px;
    line-height: 1.5;
    white-space: nowrap;
}

.resource-home-visual__icon {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #ebedf0;
    border-radius: 8px;
    background: #ffffff;
}

.resource-home-visual__icon::before,
.resource-home-visual__icon::after {
    position: absolute;
    content: "";
}

.icon-search::before {
    top: 8px;
    left: 8px;
    width: 10px;
    height: 10px;
    border: 2px solid #7b8190;
    border-radius: 50%;
}

.icon-search::after {
    right: 8px;
    bottom: 8px;
    width: 7px;
    height: 2px;
    background: #7b8190;
    transform: rotate(45deg);
}

.icon-refresh::before {
    top: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid #7b8190;
    border-right-color: transparent;
    border-radius: 50%;
}

.icon-refresh::after {
    top: 8px;
    right: 7px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #7b8190;
}

.icon-manage::before {
    top: 9px;
    left: 8px;
    width: 18px;
    height: 2px;
    background: #7b8190;
    box-shadow:
        0 7px 0 #7b8190,
        0 14px 0 #7b8190;
}

.icon-manage::after {
    top: 7px;
    left: 11px;
    width: 6px;
    height: 6px;
    border: 2px solid #7b8190;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        8px 7px 0 -2px #ffffff,
        8px 7px 0 0 #7b8190,
        2px 14px 0 -2px #ffffff,
        2px 14px 0 0 #7b8190;
}

.panel-one {
    top: 98px;
    left: 0;
}

.panel-one strong i {
    background: rgba(26, 96, 254, 0.1);
    color: #1a60fe;
}

.panel-two {
    top: 166px;
    left: 38px;
}

.panel-two strong i {
    background: rgba(24, 210, 171, 0.1);
    color: #18d2ab;
}

.panel-three {
    top: 233px;
    left: 21px;
}

.panel-three strong i {
    background: rgba(97, 97, 255, 0.1);
    color: #6161ff;
}

@media screen and (max-width: 1200px) {
    body.resource-page {
        min-width: 0;
    }

    .resource-site-header {
        min-height: 56px;
    }

    .resource-site-header__inner,
    .resource-mega,
    .resource-mega.is-open {
        display: none;
    }

    .resource-site-header__mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        padding: 0 5%;
    }

    .resource-site-header__mobile-open,
    .resource-site-mobile-drawer__head button {
        position: relative;
        width: 28px;
        height: 28px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .resource-site-header__mobile-open::before,
    .resource-site-header__mobile-open::after,
    .resource-site-mobile-drawer__head button::before,
    .resource-site-mobile-drawer__head button::after {
        position: absolute;
        left: 4px;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #62677b;
        content: "";
    }

    .resource-site-header__mobile-open::before {
        top: 9px;
        box-shadow: 0 6px 0 #62677b;
    }

    .resource-site-header__mobile-open::after {
        top: 21px;
    }

    .resource-site-mobile-drawer__head button::before {
        top: 13px;
        transform: rotate(45deg);
    }

    .resource-site-mobile-drawer__head button::after {
        top: 13px;
        transform: rotate(-45deg);
    }

    .resource-site-header__mobile-logo img {
        display: block;
        width: 120px;
        height: auto;
    }

    .resource-site-header__mobile-register {
        min-width: 54px;
        height: 30px;
        border-radius: 8px;
        background: #1b60fe;
        color: #ffffff;
        font-size: 14px;
        line-height: 30px;
        text-align: center;
    }

    .resource-site-mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        pointer-events: none;
    }

    .resource-site-mobile-drawer__mask {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(3px);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .resource-site-mobile-drawer__panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        width: 80%;
        max-width: none;
        background: #ffffff;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .resource-site-mobile-drawer.is-open {
        pointer-events: auto;
    }

    .resource-site-mobile-drawer.is-open .resource-site-mobile-drawer__mask {
        opacity: 1;
    }

    .resource-site-mobile-drawer.is-open .resource-site-mobile-drawer__panel {
        transform: translateX(0);
    }

    .resource-site-mobile-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        padding: 0 20px;
    }

    .resource-site-mobile-drawer__head img {
        display: block;
        width: 120px;
        height: auto;
    }

    .resource-site-mobile-drawer__body {
        flex: 1;
        overflow-y: auto;
        padding: 12px 0;
    }

    .resource-mobile-nav-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 42px;
        padding: 0 16px;
        border: 0;
        background: transparent;
        color: #303133;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
    }

    .resource-mobile-nav-label:hover {
        background: #f8f9fd;
    }

    .resource-mobile-nav-label em {
        margin-left: 4px;
        color: #d40000;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        vertical-align: super;
    }

    .resource-mobile-nav-label--border {
        height: 44px;
        border-bottom: 1px solid #f4f4f5;
    }

    .resource-mobile-nav-label i {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid #303133;
        border-bottom: 1.5px solid #303133;
        transform: rotate(45deg);
        transition: transform 0.2s;
    }

    .resource-mobile-nav-label.is-open i {
        transform: rotate(225deg);
    }

    .resource-mobile-submenu {
        display: none;
        padding: 0 0 8px;
    }

    .resource-mobile-submenu.is-open {
        display: block;
    }

    .resource-mobile-submenu section {
        padding: 0 16px;
    }

    .resource-mobile-submenu h3 {
        margin: 0;
        padding: 12px 0 4px;
        color: #898b95;
        font-size: 12px;
        font-weight: 500;
    }

    .resource-mobile-submenu section > a {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 12px 0;
        border-radius: 4px;
        color: #303133;
        font-size: 14px;
    }

    .resource-mobile-submenu section > a:hover,
    .resource-mobile-submenu--grid section div a:hover {
        background: #f8f9fd;
    }

    .resource-mobile-submenu section > a i {
        width: 18px;
        height: 18px;
        border: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 18px 18px;
        flex: 0 0 18px;
    }

    .resource-mobile-submenu--grid section div {
        display: flex;
        flex-wrap: wrap;
    }

    .resource-mobile-submenu--grid section div a {
        flex: 0 0 50%;
        padding: 12px 8px;
        border-radius: 4px;
        color: #303133;
        font-size: 14px;
        white-space: nowrap;
    }

    .resource-site-mobile-drawer__actions {
        margin-top: auto;
        padding: 16px;
        text-align: center;
    }

    .resource-site-mobile-drawer__actions > a {
        display: block;
        height: 34px;
        margin-bottom: 15px;
        border-radius: 4px;
        background: #1b60fe;
        color: #ffffff;
        font-size: 14px;
        line-height: 34px;
    }

    .resource-site-mobile-drawer__actions span {
        display: block;
        color: #303133;
        font-size: 14px;
    }

    .resource-site-mobile-drawer__actions span a {
        color: #1b60fe;
        text-decoration: underline;
    }

    .resource-two-column {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .resource-tutorial-layout {
        grid-template-columns: 260px minmax(0, 1fr) 360px;
    }

    .resource-list-card {
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    }

    .resource-thumb {
        width: min(220px, 28vw);
    }

    .resource-list-card--tutorial {
        grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
    }

    .resource-list-card--tutorial .resource-thumb {
        width: min(220px, 28vw);
    }
}

@media screen and (max-width: 900px) {
    .resource-detail-side .resource-sidebar {
        padding: 0;
    }
    .resource-page {
        min-width: 0;
    }

    .resource-shell,
    .resource-home-hero__inner {
        width: auto;
        margin: 0 16px;
    }

    .resource-site-header__nav,
    .resource-site-header__actions {
        display: none;
    }

    .resource-tabs {
        overflow-x: auto;
    }

    .resource-tabs__inner {
        gap: 18px;
        min-width: max-content;
    }

    .resource-two-column,
    .resource-tutorial-layout,
    .resource-home-hero__inner {
        display: block;
    }

    .resource-tutorial-layout__content {
        display: block;
    }

    .resource-list-panel,
    .resource-detail-panel,
    .tutorial-categories,
    .resource-card {
        margin-bottom: 16px;
    }

    .resource-list-panel--tutorial {
        padding: 16px;
    }

    .resource-list-card--tutorial {
        grid-template-columns: 1fr;
    }

    .resource-list-card--tutorial .resource-thumb {
        width: 100%;
    }

    .resource-list-card {
        display: block;
    }

    .resource-thumb {
        width: 100%;
        margin-bottom: 14px;
    }

    .resource-home-search {
        width: 100%;
        max-width: 520px;
    }

    .resource-home-hero {
        min-width: 0;
        padding: 20px 0 8px;
    }

    .resource-home-hero__content {
        gap: 18px;
    }

    .resource-home-hero h1 {
        font-size: 30px;
    }

    .resource-home-hero__keywords {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 16px;
    }

    .resource-home-hero__visual {
        display: none;
    }

    .resource-pagination__inner {
        flex-wrap: wrap;
    }

    .resource-pagination__jump {
        justify-content: center;
    }

    .resource-footer-banner {
        margin-top: 48px;
        padding: 48px 16px;
    }

    .resource-footer-banner__inner {
        width: auto;
        gap: 24px;
    }

    .resource-footer-banner__content h2 {
        font-size: 28px;
    }

    .resource-footer-banner__content p {
        font-size: 16px;
    }

    .resource-footer-banner__actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .resource-footer-banner__button {
        width: 100%;
        max-width: 320px;
    }
}

@media screen and (max-width: 640px) {
    .resource-home-hero__inner {
        margin: 0 12px;
    }

    .resource-home-hero h1 {
        font-size: 28px;
    }

    .resource-home-search {
        grid-template-columns: minmax(0, 1fr) 84px;
    }
    .resource-empty{
        height: 160px;
        margin: 35px 0;
    }
    .resource-home-search__field,
    .resource-home-search .resource-search-button {
        height: 44px;
    }

    .resource-home-search input,
    .resource-home-search .resource-search-button {
        font-size: 15px;
    }

    .resource-home-hero__keywords {
        font-size: 15px;
    }

    .resource-footer-banner__content h2 {
        font-size: 24px;
    }
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #f0f9eb;
    border: 1px solid #e1f3d8;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    pointer-events: none;
}
.copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast__icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    background: #67c23a;
    border-radius: 50%;
    position: relative;
}

.copy-toast__icon::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 3px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.copy-toast__text {
    font-size: 14px;
    color: #67c23a;
    line-height: 1;
    white-space: nowrap;
}
