:root {
    --te-primary: #0d6efd;
    --te-primary-dark: #0a58ca;
    --te-bg: #f7f9fc;
}

body {
    background: var(--te-bg);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #1a2434;
}

main {
    min-height: calc(100vh - 240px);
}

.te-brand-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 576px) {
    .te-brand-logo { height: 36px; max-width: 160px; }
}

.te-hero {
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 60%, #4dabf7 100%);
    color: #fff;
    padding: 80px 0 70px;
    margin-bottom: 30px;
}

.te-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
}

.te-hero .te-search input {
    height: 56px;
    font-size: 1.05rem;
    border-radius: 8px 0 0 8px;
}

.te-hero .te-search button {
    height: 56px;
    border-radius: 0 8px 8px 0;
    padding: 0 28px;
}

.te-stats {
    background: rgba(255,255,255,0.08);
    padding: 16px 24px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.te-category-card {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    padding: 22px 16px;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.te-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13,110,253,.12);
    border-color: var(--te-primary);
}

.te-category-card i {
    font-size: 2rem;
    color: var(--te-primary);
    display: block;
    margin-bottom: 8px;
}

.te-company-card {
    transition: box-shadow .15s, transform .15s;
}

.te-company-card:hover {
    box-shadow: 0 6px 20px rgba(13,110,253,.10);
}

.te-logo-placeholder {
    width: 54px;
    height: 54px;
    background: #eef3fb;
    border: 1px solid #e2e8f4;
    color: var(--te-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.te-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 30px 0 18px;
    border-left: 4px solid var(--te-primary);
    padding-left: 12px;
}

.te-breadcrumb {
    font-size: .9rem;
    color: #6c757d;
    margin: 14px 0 4px;
}

.te-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.te-breadcrumb a:hover {
    color: var(--te-primary);
}

.te-detail-cover {
    height: 220px;
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.te-detail-meta li {
    padding: 6px 0;
    border-bottom: 1px dashed #eaeef5;
}

.te-detail-meta li:last-child {
    border-bottom: 0;
}

.te-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e9f0;
}

.te-city-grid a {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    color: #233047;
    font-size: .92rem;
    transition: all .15s;
    display: block;
}

.te-city-grid a:hover {
    background: var(--te-primary);
    color: #fff;
    border-color: var(--te-primary);
}

.te-footer a {
    text-decoration: none;
}

.te-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .te-hero { padding: 50px 0 40px; }
    .te-hero h1 { font-size: 1.7rem; }
}
