.tcm-home {
    min-height: 100vh
}

.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden
}

.hero-image {
    width: 100%;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;
    display: block
}

.content-section {
    min-height: 100vh;
    padding: 100px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.content-wrapper {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.chinese-title-box {
    display: flex;
    justify-content: center;
    margin-bottom: 40px
}

.title-content {
    width: 280px;
    height: 70px;
    background: transparent;
    border: 2px solid #8b4513;
    border-radius: 8px;
    position: relative
}

.corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid #8b4513;
    background: transparent
}

.corner-tl {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0
}

.corner-tr {
    top: -8px;
    right: -8px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0
}

.corner-bl {
    bottom: -8px;
    left: -8px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 4px
}

.corner-br {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0
}

.directory-section {
    margin-bottom: 50px
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.directory-card {
    position: relative;
    background: hsla(0, 0%, 100%, .4);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s;
    border: 2px solid rgba(139, 69, 19, .25);
    padding: 20px;
    display: flex;
    align-items: center
}

.directory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12)
}

.card-cover {
    width: 50px;
    height: 50px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    background: hsla(0, 0%, 100%, .5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.cover-image {
    width: 35px;
    height: 35px;
    -o-object-fit: contain;
    object-fit: contain
}

.card-info {
    flex: 1
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0
}

.search-section {
    margin-bottom: 40px
}

.search-container {
    background: transparent;
    border-radius: 8px;
    padding: 30px 40px;
    border: 2px solid rgba(139, 69, 19, .25)
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(139, 69, 19, .25)
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 18px 25px;
    color: #333
}

.search-btn {
    width: 100px;
    height: 44px;
    background-color: #8b4513;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all .3s;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.search-btn:hover {
    background-color: sienna
}

.search-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500
}

.search-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px
}

.search-icon-wrap:before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: border-box
}

.search-icon-wrap:after {
    content: "";
    width: 2px;
    height: 8px;
    background: #fff;
    transform: rotate(-45deg);
    margin-left: -2px;
    margin-top: 4px
}

.search-input::-moz-placeholder {
    color: #666
}

.search-input::placeholder {
    color: #666
}

.search-results-section {
    margin-bottom: 60px
}

.results-card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06)
}

.results-card .el-card__header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #e9ecef;
    padding: 20px 32px
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.results-header .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50
}

.results-tree {
    padding: 20px
}

.result-tree-node {
    display: flex;
    align-items: center;
    width: 100%
}

.node-icon-img {
    width: 20px;
    height: 20px;
    -o-object-fit: contain;
    object-fit: contain;
    margin-right: 8px
}

.node-icon {
    margin-right: 8px
}

@media (max-width:1200px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .content-wrapper {
        width: 90%
    }
}

@media (max-width:768px) {
    .directory-grid {
        grid-template-columns: 1fr
    }

    .content-wrapper {
        width: 95%;
        padding: 0 15px
    }

    .content-section {
        padding: 30px 0
    }

    .search-container {
        padding: 20px
    }
}