/*
 * Trang Archive riêng (cờ archive_pages, #42, spec 06). Khung, thanh tìm / Filter, thẻ exhibitor, phân trang dùng class của theme
 * (style.css của flatsome-child) — ở đây chỉ phần riêng: tiêu đề, mô tả, hàng Type con, thanh năm bằng <a> thay <button>, và vài quy
 * tắc thanh tìm / Filter mà theme để inline trong page-exhibitor.php.
 */

.hxe-archive .hxe-archive__crumbs {
    margin: 0 0 12px;
    color: #777;
    font-size: 13px;
}

.hxe-archive .hxe-archive__crumbs a {
    color: inherit;
}

.hxe-archive .hxe-archive__head {
    margin: 0 0 24px;
}

.hxe-archive .hxe-archive__title {
    margin-bottom: 4px;
}

.hxe-archive .hxe-archive__sub {
    margin: 0;
    color: #666;
    font-size: 14px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.hxe-archive .hxe-archive__desc {
    max-width: 820px;
    margin-top: 14px;
}

.hxe-archive .hxe-archive__desc p:last-child {
    margin-bottom: 0;
}

/* Type con của trang Category — nút chữ, link trang Archive của Type */
.hxe-archive .hxe-archive__types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 28px;
}

.hxe-archive .hxe-archive__type {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.hxe-archive .hxe-archive__type:hover,
.hxe-archive .hxe-archive__type:focus-visible {
    border-color: #9e000a;
    color: #9e000a;
}

.hxe-archive .hxe-archive__count {
    color: #888;
}

/* Thanh tìm / Filter: các quy tắc nằm INLINE trong page-exhibitor.php của theme (không có trong style.css) — chép đúng giá trị, chỉ trong
   trang Archive. style.css có .cat_filter::before nhưng giá trị hỏng (khoảng trắng trong data URI) nên trình duyệt bỏ. */
.hxe-archive .filter form svg {
    left: 0;
}

.hxe-archive .cat_filter {
    position: relative;
    padding-left: 70px;
    font-weight: bold;
}

.hxe-archive .cat_filter::before {
    content: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 70 70' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.1 10C27.1 4.2 21.5 0 15 0C6.7 0 0 6.7 0 15C0 23.3 6.7 30 15 30C21.5 30 27.1 25.8 29.1 20H70V10H29.1ZM15 20C12.2 20 10 17.8 10 15C10 12.2 12.2 10 15 10C17.8 10 20 12.2 20 15C20 17.8 17.8 20 15 20Z' fill='black' fill-opacity='0.97'/%3E%3Cpath d='M55 40C48.5 40 42.9 44.2 40.9 50H0V60H40.9C43 65.8 48.5 70 55 70C63.3 70 70 63.3 70 55C70 46.7 63.3 40 55 40ZM55 60C52.2 60 50 57.8 50 55C50 52.2 52.2 50 55 50C57.8 50 60 52.2 60 55C60 57.8 57.8 60 55 60Z' fill='black' fill-opacity='0.97'/%3E%3C/svg%3E%0A");
    position: absolute;
    top: 5px;
    left: 30px;
}

.hxe-archive .cat_filter a {
    color: #000;
    font-size: 20px;
}

/* Thanh năm: <a> mang đúng class nút của theme (.blog-detail .btn …) — thêm phần thẻ <a> khác <button>. */
/* Khoảng cách 18 px = nút <button> của theme (margin-right 1em của Flatsome + khoảng trắng giữa thẻ inline) — đo 10/11/2026. */
.hxe-archive .hxe-archive__years {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-right: 18px;
    vertical-align: middle;
}

.hxe-archive .hxe-archive__years .btn-season {
    display: inline-block;
    margin: 0;
    text-decoration: none;
}

.hxe-archive .hxe-archive__years .btn-outline-primary:hover {
    background-color: #9e000a;
    color: #fff;
}

.hxe-archive .hxe-archive__empty {
    padding: 30px 0;
}

@media (prefers-reduced-motion: reduce) {
    .hxe-archive .hxe-archive__type,
    .hxe-archive .hxe-archive__years .btn-season {
        transition: none;
    }
}
