.mark-preview img,
.detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    background: #fff;
    color: #999;
}

.pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
}

.pagination .pagination li a,
.pagination .pagination li span {
    display: block;
    padding: 7px 11px;
    border: 1px solid #ddd;
    background: #fff;
}

.pagination .pagination .active span {
    border-color: #286cf1;
    color: #286cf1;
}

.publish-form textarea {
    width: 100%;
    border: 1px solid #bbb;
    padding: 12px;
    resize: vertical;
    font-weight: 400;
}

.article-panel nav a {
    flex: 1;
    padding: 30px;
    text-align: center;
    font-size: 20px;
}

.article-panel nav a.active {
    color: #286cf1;
    border-bottom: 4px solid #286cf1;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin: 18px 0;
}

.login-tabs button {
    flex: 1;
    padding: 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: #fff;
}

.login-tabs button.active {
    color: #286cf1;
    border-bottom-color: #286cf1;
}

.login-pane { display: none; }
.login-pane.active { display: block; }
.login-message { min-height: 24px; margin-top: 12px; text-align: center; color: #e5484d; }
.login-message.success { color: #18a058; }
.account-menu { display: flex; align-items: center; gap: 14px; }
.account-menu button { border: 0; background: none; color: #888; }

.field-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.field-title b { color: #f04444; }

.date-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.date-range i { font-style: normal; }

.search-type {
    width: 210px;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1px solid #286cf1;
    border-right: 0;
    white-space: nowrap;
}

.market-search .search-inner {
    grid-template-columns: 230px minmax(0, 1fr) 130px;
}

.market-search .search-box,
.market-search .search-line { min-width: 0; }
.market-search .search-box { align-self: start; }
.market-search .search-line { height: 48px; align-items: stretch; }
.market-search .search-line input[type="search"] { height: 48px; }
.market-search .search-line button { height: 48px; }
.market-search .search-inner > .button {
    width: 130px;
    height: 48px;
    padding: 0 16px;
    align-self: start;
    white-space: nowrap;
}
.article-empty { display: none; }

.hero-search p a { margin-left: 15px; color: #777; }
.hero-search p a:hover { color: #286cf1; }
.category-feature span:last-of-type { border-right: 0; }
.category-feature > a { display: block; width: 100%; justify-self: stretch; }

.login-art {
    padding: 0;
    background: #eaf4ff url("../img/trademark/login-art.png") center / cover no-repeat;
}
.login-form input,
.code-field,
.code-field button { height: 46px; }
.code-field input { min-width: 0; }
.code-field button { flex: 0 0 120px; }

.filter-option {
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #30343b;
}
.filter-row > .filter-option,
.category-more > .filter-option { color: #30343b; }
.filter-row > .filter-option.selected,
.category-more > .filter-option.selected { padding: 3px 8px; background: #e7efff; color: #286cf1; }
.category-more .filter-option { margin: 0; }
.inline-filter-form { display: none; align-items: center; gap: 10px; }
.inline-filter-form.is-visible { display: inline-flex; }
.inline-filter-form button { height: 28px; padding: 0 10px; border: 1px solid #286cf1; background: #fff; color: #286cf1; }
.inline-filter-form input[type="date"] { width: 145px; }

@media (max-width: 800px) {
    .date-range { grid-template-columns: 1fr; }
    .date-range i { text-align: center; }
    .search-type { width: 40%; }
    .market-search .search-inner { grid-template-columns: 1fr; }
}

.detail-section .materials {
    display: block;
    width: min(920px, 100%);
    aspect-ratio: 553 / 123;
    margin: 0 auto;
    background: url("../img/trademark/transaction-materials.jpg") center / contain no-repeat;
}

.detail-info button[data-open-consult]:first-of-type {
    display: none;
}

.detail-section .materials > * {
    display: none;
}

/* Word specification image refresh, July 2026. */
.home-hero {
    background: #eaf4ff url("../img/trademark/home-hero.png") center / cover no-repeat;
}

.home-hero::after,
.knowledge-hero::after {
    display: none;
}

.home-hero .hero-visual,
.knowledge-hero .knowledge-visual {
    display: none;
}

.hero-search .search-type {
    border-right: 1px solid #d9dde5;
}

.hero-search .search-type + input {
    border-left: 0;
}

.knowledge-cards article {
    background: #fff url("../img/trademark/knowledge-card-bg.jpg") right bottom / 47% auto no-repeat;
}

.knowledge-cards .mini-icon {
    display: none;
}

.knowledge-hero {
    background: #edf6ff url("../img/trademark/knowledge-hero.png") center / cover no-repeat;
}

.market-search .search-inner {
    grid-template-columns: 260px minmax(0, 1fr) 130px;
    align-items: center;
}

.market-search .wordmark {
    align-self: center;
    min-width: 0;
}

.market-search .wordmark strong {
    line-height: 1.2;
    letter-spacing: 6px;
    white-space: nowrap;
}

.market-search .wordmark span {
    display: block;
    margin-top: 4px;
    padding-left: 2px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 6px;
    white-space: nowrap;
}

.sort-row a { color: #343941; }
.sort-row a.active { color: #286cf1; font-weight: 600; }
.sort-row a i { font-style: normal; font-size: 13px; }
.category-more a.selected { padding: 3px 8px; background: #e7efff; color: #286cf1; }

.detail-section .process {
    max-width: 920px;
    margin: 0 auto;
    padding-top: 82px;
    background: url("../img/trademark/transfer-process.jpg") center top / calc(100% - 70px) auto no-repeat;
}

.detail-section .process i {
    display: none;
}

@media (max-width: 800px) {
    .detail-section .process {
        display: grid;
        grid-template-columns: repeat(5, minmax(72px, 1fr));
        overflow-x: auto;
        padding-top: 62px;
        background-size: 520px auto;
        background-position: 18px top;
    }
    .detail-section .process span { min-width: 88px; text-align: center; }
}

@media (max-width: 800px) {
    .home-hero { background-position: 58% center; }
    .knowledge-hero { background-position: 60% center; }
    .market-search .search-inner { grid-template-columns: 1fr; }
}

/* High-resolution detail assets. */
.detail-section .materials {
    aspect-ratio: 2084 / 462;
    background-image: url("../img/trademark/transaction-materials-hd.png");
}

.detail-section .process {
    position: relative;
    display: block;
    width: min(920px, 100%);
    height: 150px;
    padding: 0;
    background: url("../img/trademark/transfer-process-hd.png") center top / 100% auto no-repeat;
}

.detail-section .process span {
    position: absolute;
    top: 106px;
    width: 160px;
    min-width: 0;
    text-align: center;
    transform: translateX(-50%);
}

.detail-section .process span:nth-child(1) { left: 4.8%; }
.detail-section .process span:nth-child(2) { left: 27.4%; }
.detail-section .process span:nth-child(3) { left: 50%; }
.detail-section .process span:nth-child(4) { left: 72.6%; }
.detail-section .process span:nth-child(5) { left: 95.2%; }

@media (max-width: 800px) {
    #process.detail-section { overflow-x: auto; }
    .detail-section .process {
        display: block;
        width: 720px;
        height: 125px;
        padding: 0;
        overflow: visible;
        background-size: 720px auto;
        background-position: center top;
    }
    .detail-section .process span {
        top: 84px;
        width: 130px;
    }
}
