.ts-companies-shell {
    background: #f5f7fb;
    color: #182235;
    font-family: open_sans_new, Arial, sans-serif;
    font-synthesis-weight: none;
}

.ts-listing-save-btn {
    border: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .84);
    color: #9a4f0d;
    box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .16);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ts-listing-save-btn:hover,
.ts-listing-save-btn:focus {
    background: rgba(255, 246, 237, .96);
    color: var(--ts-v2-primary, #b45309);
    transform: translateY(-1px);
}

.ts-listing-save-btn.is-saved {
    background: rgba(180, 83, 9, .92);
    color: #fff;
}

.ts-agent-profile-head {
    overflow: hidden;
}

.ts-agent-cover {
    min-height: 180px;
    background-color: #e8edf5;
    background-position: center;
    background-size: cover;
    position: relative;
}

.ts-agent-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 18, .04), rgba(6, 10, 18, .36));
}

.ts-agent-identity-row {
    align-items: flex-start !important;
    margin-top: 0;
    padding: 0 8px 0 6px;
    position: relative;
    z-index: 1;
}

.ts-agent-avatar-overlap {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .12);
    margin-top: -38px;
}

.ts-agent-title-block {
    padding-top: 12px;
}

.ts-agent-identity-row .hstack {
    padding-top: 12px;
}

.ts-company-agent-profile .navbar-offcanvas-menu.nav-pills-primary-soft .nav-link {
    border-radius: .5rem;
    color: #182235;
    font-weight: 500;
    padding: .5rem .8rem !important;
}

.ts-company-agent-profile .navbar-offcanvas-menu.nav-pills-primary-soft .nav-link.active,
.ts-company-agent-profile .navbar-offcanvas-menu.nav-pills-primary-soft .nav-link:hover {
    background-color: rgba(180, 83, 9, .1);
    color: #b45309;
}

.ts-agent-listing-card .card-img {
    width: 100%;
    min-height: 112px;
    max-height: 128px;
    object-fit: cover;
}

.ts-agent-summary-strip .icon-md {
    flex: 0 0 auto;
}

.ts-agent-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ts-agent-meta-list > div {
    align-items: center;
    background: #f8fafc;
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
}

.ts-agent-meta-list span {
    color: #667085;
    font-size: 13px;
}

.ts-agent-meta-list strong {
    color: #182235;
}

.ts-agent-story-card {
    color: inherit;
    overflow: hidden;
}

.ts-agent-story-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ts-company-directory-card {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ts-company-directory-card:hover {
    border-color: rgba(180, 83, 9, .24) !important;
    box-shadow: 0 14px 30px rgba(15, 35, 65, .09);
    transform: translateY(-2px);
}

.ts-company-directory-cover {
    background-color: #e8edf5;
    background-position: center;
    background-size: cover;
    display: block;
    height: 96px;
    position: relative;
}

.ts-company-directory-cover::after {
    background: linear-gradient(180deg, rgba(6, 10, 18, .02), rgba(6, 10, 18, .28));
    content: "";
    inset: 0;
    position: absolute;
}

.ts-company-directory-avatar {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .12);
    margin-top: -46px;
    position: relative;
    z-index: 1;
}

.ts-company-directory-card h2 a {
    color: #182235;
    text-decoration: none;
}

.ts-company-directory-card h2 a:hover,
.ts-company-directory-card h2 a:focus {
    color: #b45309;
}

.ts-company-directory-bio {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ts-company-directory-meta {
    display: grid;
    gap: 2px;
    line-height: 1.45;
    margin-top: 6px;
}

.ts-company-directory-meta span {
    display: block;
}

.ts-company-directory-stats {
    border-top: 1px solid #edf1f6;
    padding-top: 10px;
}

.ts-company-directory-stats + .ts-company-directory-stats {
    border-top: 0;
    padding-top: 0;
}

@media (max-width: 575.98px) {
    .ts-agent-cover {
        min-height: 130px;
    }

    .ts-agent-identity-row {
        margin-top: 0;
    }

    .ts-agent-title-block,
    .ts-agent-identity-row .hstack {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.ts-companies-shell h1,
.ts-companies-shell h2,
.ts-companies-shell h3,
.ts-companies-shell h4,
.ts-companies-shell h5,
.ts-companies-shell h6,
.ts-companies-shell p,
.ts-companies-shell a,
.ts-companies-shell span,
.ts-companies-shell strong,
.ts-companies-shell small,
.ts-companies-shell button {
    font-family: inherit;
}

.ts-companies-hero {
    background: linear-gradient(135deg, #0f766e 0%, #1769aa 100%);
    color: #fff;
    padding: 42px 0 34px;
}

.ts-companies-hero-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: center;
    text-align: center;
}

.ts-companies-hero h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.16;
    margin: 0 0 10px;
}

.ts-companies-hero p {
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 680px;
}

.ts-companies-content {
    padding: 34px 0 48px;
}

.ts-companies-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-company-card {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 35, 65, .08);
    color: inherit;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ts-company-card:hover,
.ts-company-card:focus {
    border-color: #b8d6ee;
    box-shadow: 0 14px 30px rgba(15, 35, 65, .12);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.ts-company-card-cover {
    background-color: #dce7f1;
    background-position: center;
    background-size: cover;
    display: block;
    height: 118px;
    position: relative;
}

.ts-company-card-cover::after {
    background: linear-gradient(180deg, rgba(15, 35, 65, .08), rgba(15, 35, 65, .35));
    content: "";
    inset: 0;
    position: absolute;
}

.ts-company-card-avatar {
    background: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    bottom: -30px;
    box-shadow: 0 8px 18px rgba(15, 35, 65, .2);
    height: 72px;
    left: 22px;
    overflow: hidden;
    position: absolute;
    width: 72px;
    z-index: 1;
}

.ts-company-card-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ts-company-card-body {
    padding: 42px 22px 20px;
}

.ts-company-card h2 {
    color: #105ca8;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
}

.ts-company-card:hover h2,
.ts-company-card:focus h2 {
    color: #0f766e;
}

.ts-company-username {
    color: #667085;
    font-size: 14px;
    margin-bottom: 14px;
}

.ts-company-location {
    align-items: center;
    color: #344054;
    display: flex;
    font-size: 14px;
    gap: 8px;
    margin-bottom: 12px;
}

.ts-company-location i {
    color: #0f766e;
}

.ts-company-bio {
    color: #4b5565;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
    min-height: 44px;
}

.ts-company-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.ts-company-stats span {
    background: #f4f7fb;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    color: #5a6677;
    font-size: 12px;
    padding: 9px 8px;
    text-align: center;
}

.ts-company-stats strong {
    color: #182235;
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3px;
}

.ts-company-card-foot {
    align-items: center;
    border-top: 1px solid #e8edf4;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding-top: 14px;
}

.ts-company-score-pill {
    align-items: center;
    background: #f7fafc;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    color: #667085;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
}

.ts-company-score-pill i {
    color: #b54d00;
}

.ts-tours-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-tour-card {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 35, 65, .08);
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ts-tour-card:hover {
    border-color: rgba(180, 83, 9, .28);
    box-shadow: 0 14px 30px rgba(15, 35, 65, .12);
    transform: translateY(-2px);
}

.ts-tour-card-media {
    background-color: #dce7f1;
    background-position: center;
    background-size: cover;
    color: #fff;
    display: block;
    height: 112px;
    min-height: 0;
    position: relative;
    text-decoration: none;
}

.ts-tour-card-media::after {
    background: linear-gradient(180deg, rgba(15, 35, 65, .04), rgba(15, 35, 65, .45));
    content: "";
    inset: 0;
    position: absolute;
}

.ts-tour-card-media span {
    background: #b45309;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    left: 14px;
    line-height: 1;
    padding: 8px 10px;
    position: absolute;
    top: 14px;
    z-index: 1;
}

.ts-tour-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 12px 13px 13px;
}

.ts-tour-company-line {
    margin-bottom: 8px;
}

.ts-tour-company-line a {
    align-items: center;
    color: #526070;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    max-width: 100%;
    text-decoration: none;
}

.ts-tour-company-line img {
    border: 1px solid #e4ebf4;
    border-radius: 50%;
    height: 24px;
    object-fit: cover;
    width: 24px;
}

.ts-tour-company-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ts-tour-card-title {
    color: var(--ts-v2-primary, #b45309);
    display: -webkit-box;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 6px;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-decoration: none;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ts-tour-card-title:hover,
.ts-tour-card-title:focus {
    color: var(--ts-v2-primary-hover, #92400e);
    text-decoration: none;
}

.ts-tour-card-body p {
    color: #4b5565;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 9px;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ts-tour-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.ts-tour-badge {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #7c2d12;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
    line-height: 1.2;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 4px 7px;
    word-break: break-word;
}

.ts-tour-badge .ts-v2-svg-icon {
    flex: 0 0 auto;
    height: 13px;
    width: 13px;
}

.ts-tour-badge.is-location .ts-v2-svg-icon,
.ts-tour-badge.is-date .ts-v2-svg-icon,
.ts-tour-badge.is-gallery .ts-v2-svg-icon {
    color: var(--ts-v2-primary, #b45309);
}

.ts-tour-badge.is-duration .ts-v2-svg-icon {
    color: var(--ts-v2-primary, #b45309);
}

.ts-tour-badge.is-status {
    background: #fff7ed;
    border-color: #fed7aa;
    color: var(--ts-v2-primary-hover, #92400e);
}

.ts-tour-card-foot {
    border-top: 1px solid #e8edf4;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 10px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.ts-tour-price-line {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

.ts-tour-price-line .ts-tour-badge {
    margin-top: 1px;
    text-align: center;
    white-space: normal;
}

.ts-tour-card-foot strong {
    color: var(--ts-v2-primary, #b45309);
    display: grid;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ts-tour-card-foot strong small {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.ts-tour-card-foot a {
    align-items: center;
    color: var(--ts-v2-primary, #b45309);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    margin: 0 auto;
    min-height: 0;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    width: auto;
    word-break: break-word;
}

.ts-tour-card-foot a:hover,
.ts-tour-card-foot a:focus {
    color: var(--ts-v2-primary-hover, #92400e);
    text-decoration: underline;
}

.ts-companies-empty {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    padding: 44px 24px;
    text-align: center;
}

.ts-companies-empty-icon {
    align-items: center;
    background: #e7f4f2;
    border-radius: 50%;
    color: #0f766e;
    display: inline-flex;
    font-size: 30px;
    height: 68px;
    justify-content: center;
    margin-bottom: 18px;
    width: 68px;
}

.ts-companies-empty h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ts-companies-empty p {
    color: #667085;
    margin: 0;
}

.ts-companies-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 28px;
}

.ts-companies-pagination a {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 8px;
    color: #344054;
    display: inline-flex;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 12px;
    text-decoration: none;
}

.ts-companies-pagination a.is-active,
.ts-companies-pagination a:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.ts-company-detail-shell {
    min-height: 100vh;
}

.ts-company-detail-hero {
    background-color: #0f766e;
    background-position: center;
    background-size: cover;
    color: #fff;
    position: relative;
}

.ts-company-detail-hero::before {
    background: linear-gradient(90deg, rgba(8, 36, 53, .82), rgba(8, 36, 53, .48));
    content: "";
    inset: 0;
    position: absolute;
}

.ts-company-detail-hero-inner {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 180px;
    padding: 28px 0;
    position: relative;
    z-index: 1;
}

.ts-company-detail-avatar {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
    height: 88px;
    overflow: hidden;
    width: 88px;
}

.ts-company-detail-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ts-company-detail-title h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.14;
    margin: 0 0 6px;
}

.ts-company-detail-title div,
.ts-company-detail-title p {
    color: rgba(255, 255, 255, .86);
    margin: 0 0 6px;
}

.ts-company-detail-title p {
    display: flex;
    gap: 8px;
}

.ts-company-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.ts-company-detail-button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    color: #0f766e;
    display: inline-flex;
    font-weight: 700;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
}

.ts-company-detail-button:hover {
    color: #0b5f58;
    text-decoration: none;
}

.ts-company-detail-button.is-light {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.ts-company-detail-content {
    padding: 28px 0 48px;
}

.ts-company-compact-head {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ts-company-compact-main {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.ts-company-compact-avatar {
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(15, 35, 65, .14);
    flex: 0 0 auto;
    height: 70px;
    object-fit: cover;
    width: 70px;
}

.ts-company-compact-title {
    min-width: 0;
}

.ts-company-compact-title h1 {
    color: #182235;
    font-size: 26px;
    line-height: 1.18;
    margin: 0 0 4px;
}

.ts-company-compact-title div,
.ts-company-compact-title p {
    color: #667085;
    margin: 0;
}

.ts-company-compact-title p {
    align-items: center;
    display: flex;
    gap: 7px;
}

.ts-company-compact-title i {
    color: #0f766e;
}

.ts-company-compact-head .ts-company-detail-button {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.ts-company-compact-head .ts-company-detail-button:hover,
.ts-company-compact-head .ts-company-detail-button:focus {
    background: #0b5f58;
    color: #fff;
}

.ts-company-compact-head .ts-company-detail-button.is-light {
    background: #fff;
    border-color: #d8e1ec;
    color: #0f766e;
}

.ts-tour-compact-head {
    align-items: stretch;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}

.ts-tour-compact-media {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.ts-tour-compact-cover {
    background-color: #dce7f1;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    display: block;
    min-height: 132px;
    overflow: hidden;
    position: relative;
}

.ts-tour-compact-media .ts-tour-compact-cover {
    min-height: 132px;
    width: 100%;
}

.ts-tour-compact-cover::after {
    background: linear-gradient(180deg, rgba(15, 35, 65, 0), rgba(15, 35, 65, .4));
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .18s ease;
}

.ts-tour-compact-cover:hover::after,
.ts-tour-compact-cover:focus::after {
    opacity: 1;
}

.ts-tour-gallery-open {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(216, 225, 236, .95);
    border-radius: 999px;
    box-sizing: border-box;
    box-shadow: 0 10px 22px rgba(15, 35, 65, .16);
    color: #bd5208;
    display: inline-flex;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    margin-top: 0;
    padding: 9px 11px;
    position: static;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    width: 100%;
    z-index: 2;
}

.ts-tour-gallery-open small {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #f3c59f;
    border-radius: 999px;
    color: #92400e;
    display: inline-flex;
    font-size: 11px;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 6px;
}

.ts-tour-gallery-open:hover,
.ts-tour-gallery-open:focus {
    background: #fff7ed;
    border-color: #f3c59f;
    color: #92400e;
    text-decoration: none;
    transform: translateY(-1px);
}

.ts-tour-gallery-hidden {
    height: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.ts-tour-gallery-hidden a {
    height: 1px;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.ts-tour-detail-back-inline {
    color: #0f766e;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    text-decoration: none;
}

.ts-tour-detail-back-inline:hover,
.ts-tour-detail-back-inline:focus {
    color: #0b5f58;
    text-decoration: none;
}

.ts-company-detail-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 320px minmax(0, 1fr);
}

.ts-company-detail-card {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 35, 65, .06);
    padding: 20px;
}

.ts-company-detail-card + .ts-company-detail-card {
    margin-top: 18px;
}

.ts-company-detail-card h2 {
    color: #182235;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
}

.ts-company-detail-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-company-detail-stats span {
    background: #f4f7fb;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    color: #5a6677;
    font-size: 12px;
    padding: 10px 8px;
    text-align: center;
}

.ts-company-detail-stats strong {
    color: #182235;
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
}

.ts-company-detail-meta {
    border-top: 1px solid #e8edf4;
    color: #526070;
    display: grid;
    gap: 10px;
    font-size: 14px;
    margin-top: 16px;
    padding-top: 16px;
}

.ts-company-detail-meta i {
    color: #0f766e;
    margin-right: 6px;
}

.ts-company-detail-description {
    color: #344054;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.ts-company-detail-help {
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
    margin: -4px 0 14px;
}

.ts-company-lead-form {
    display: grid;
    gap: 12px;
}

.ts-company-lead-form label {
    color: #344054;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ts-company-lead-form label span {
    color: #b42318;
}

.ts-company-lead-form .form-control,
.ts-company-lead-form .form-select {
    border-color: #d8e1ec;
    border-radius: 8px;
    min-height: 40px;
}

.ts-company-lead-form-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-company-lead-submit {
    border-color: #0f766e;
    justify-content: center;
    margin-top: 2px;
}

.ts-company-section-head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ts-company-section-head h2 {
    margin: 0;
}

.ts-company-section-head a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.ts-company-story-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-company-story-card {
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    color: inherit;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 106px;
    overflow: hidden;
    text-decoration: none;
}

.ts-company-story-card:hover {
    border-color: #b8d6ee;
    color: inherit;
    text-decoration: none;
}

.ts-company-story-image {
    background-color: #dce7f1;
    background-position: center;
    background-size: cover;
    display: block;
}

.ts-company-story-body {
    display: block;
    padding: 12px;
}

.ts-company-content-type {
    color: #0f766e;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.ts-company-content-type.is-tour {
    color: #b45309;
}

.ts-company-story-body strong {
    color: #105ca8;
    display: block;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.ts-company-story-body small {
    color: #667085;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ts-company-tour-list {
    display: grid;
    gap: 10px;
}

.ts-company-tour-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 12px;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    padding: 13px;
    text-decoration: none;
}

.ts-company-tour-row:hover,
.ts-company-tour-row:focus {
    border-color: #b8d6ee;
    color: inherit;
    text-decoration: none;
}

.ts-company-tour-image {
    aspect-ratio: 16 / 10;
    background-color: #dce7f1;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    display: block;
    width: 112px;
}

.ts-company-tour-row strong,
.ts-company-tour-row span {
    display: block;
}

.ts-company-tour-row strong {
    color: #182235;
    font-size: 15px;
    margin-bottom: 4px;
}

.ts-company-tour-row span {
    color: #667085;
    font-size: 13px;
}

.ts-company-tour-row small {
    color: #667085;
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 4px;
}

.ts-company-tour-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ts-company-tour-chip-row span {
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    color: #344054;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
}

.ts-company-tour-row em {
    background: #e7f4f2;
    border-radius: 999px;
    color: #0f766e;
    display: grid;
    gap: 2px;
    font-style: normal;
    font-weight: 700;
    padding: 7px 10px;
    text-align: center;
    white-space: nowrap;
}

.ts-company-tour-row em small {
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
}

.ts-company-detail-empty {
    box-shadow: none;
    padding: 22px;
}

.ts-tour-detail-hero {
    background-color: #10394d;
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: 320px;
    position: relative;
}

.ts-tour-detail-hero::before {
    background: rgba(9, 27, 43, .55);
    content: "";
    inset: 0;
    position: absolute;
}

.ts-tour-detail-hero .container {
    position: relative;
    z-index: 1;
}

.ts-tour-detail-back {
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    margin-top: 26px;
    text-decoration: none;
}

.ts-tour-detail-back:hover {
    color: #fff;
    text-decoration: underline;
}

.ts-tour-detail-hero-body {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 86px minmax(0, 1fr);
    max-width: 820px;
    padding: 60px 0 58px;
}

.ts-tour-detail-hero-body img {
    border: 3px solid #fff;
    border-radius: 50%;
    height: 86px;
    object-fit: cover;
    width: 86px;
}

.ts-tour-detail-hero h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.14;
    margin: 0 0 8px;
}

.ts-tour-detail-hero p {
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}

.ts-tour-detail-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.ts-tour-detail-grid.is-side-only {
    grid-template-columns: minmax(280px, 420px);
}

.ts-tour-detail-tab-panel {
    padding-top: 14px !important;
}

.ts-tour-detail-section {
    border-top: 0;
    margin-top: 10px;
    padding-top: 10px;
}

.ts-tour-detail-section.is-first {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.ts-tour-detail-shell .ts-company-detail-card .ts-tour-detail-section > h2,
.ts-tour-detail-shell .ts-company-detail-card > h2,
.ts-tour-detail-shell .ts-tour-section-title {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e3ebf6;
    border-radius: 0;
    color: #182235;
    display: flex;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    min-height: 0;
    padding: 0 0 5px !important;
}

.ts-tour-detail-section p {
    color: #4b5565;
    line-height: 1.5;
    margin: 0;
}

.ts-tour-svg-icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    vertical-align: -.15em;
}

.ts-tour-rich-content {
    color: #4b5565;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.ts-tour-rich-content > :first-child {
    margin-top: 0;
}

.ts-tour-rich-content > :last-child {
    margin-bottom: 0;
}

.ts-tour-rich-content p,
.ts-tour-rich-content ul,
.ts-tour-rich-content ol,
.ts-tour-rich-content blockquote {
    margin-bottom: 6px;
}

.ts-tour-rich-content ul,
.ts-tour-rich-content ol {
    padding-left: 22px;
}

.ts-tour-rich-content blockquote {
    border-left: 3px solid #d8e1ec;
    padding-left: 12px;
}

.ts-tour-rich-content a {
    color: #bd5208;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ts-tour-price-main {
    color: #0f766e;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.ts-tour-reserve-button {
    justify-content: center;
    margin-top: 16px;
    width: 100%;
}

.ts-tour-mini-list,
.ts-tour-itinerary {
    display: grid;
    gap: 8px;
}

.ts-tour-mini-list div,
.ts-tour-itinerary div {
    background: #f8fafc;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    padding: 9px;
}

.ts-tour-mini-list strong,
.ts-tour-itinerary strong {
    color: #182235;
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.ts-tour-mini-list span,
.ts-tour-itinerary small {
    color: #667085;
    display: block;
    font-size: 13px;
}

.ts-tour-itinerary p {
    color: #4b5565;
    line-height: 1.45;
    margin: 4px 0;
}

.ts-tour-itinerary .ts-tour-rich-content {
    margin: 4px 0;
}

.ts-tour-mini-note {
    border-top: 1px solid #e4ebf4;
    margin-top: 8px;
    padding-top: 8px;
}

.ts-tour-hotel-options {
    display: grid;
    gap: 12px;
}

.ts-tour-hotel-card {
    background: #fff;
    border: 1px solid #ecd6c5;
    border-radius: 8px;
    padding: 14px;
}

.ts-tour-hotel-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.ts-tour-hotel-head strong {
    color: #182235;
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.ts-tour-hotel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ts-tour-hotel-chips span {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #bd5208;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px 8px;
}

.ts-tour-hotel-price {
    color: #bd5208;
    flex: 0 0 auto;
    min-width: 130px;
    text-align: right;
}

.ts-tour-hotel-price b,
.ts-tour-hotel-price small,
.ts-tour-hotel-price em {
    display: block;
}

.ts-tour-hotel-price b {
    font-size: 18px;
    line-height: 1.2;
}

.ts-tour-hotel-price small {
    color: #667085;
    font-size: 12px;
    font-style: normal;
    margin-top: 2px;
}

.ts-tour-hotel-price em {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #bd5208;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    margin-top: 7px;
    padding: 5px 8px;
}

.ts-tour-hotel-description {
    border-top: 1px solid #f0e1d4;
    margin-top: 12px;
    padding-top: 10px;
}

.ts-agent-date-control {
    align-items: stretch;
    display: flex;
    position: relative;
}

.ts-agent-date-control .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ts-agent-date-control .form-control.is-invalid {
    background-position: right calc(1.85rem + 0.1875rem) center;
}

.ts-agent-date-button {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1ec;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 44px;
    justify-content: center;
    min-height: 42px;
    width: 44px;
}

.ts-agent-date-button:hover,
.ts-agent-date-button:focus {
    background: #eef5ff;
    color: #084298;
}

.ts-agent-date-picker {
    cursor: pointer;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    z-index: -1;
}

.ts-agent-date-control.is-invalid + .invalid-feedback {
    display: block;
}

@media (max-width: 991px) {
    .ts-companies-grid,
    .ts-tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-company-detail-hero-inner,
    .ts-company-detail-grid {
        grid-template-columns: 1fr;
    }

    .ts-company-detail-actions {
        justify-content: flex-start;
    }

    .ts-company-compact-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-tour-compact-head {
        grid-template-columns: 1fr;
    }

    .ts-tour-detail-grid {
        grid-template-columns: 1fr;
    }

    .ts-tour-hotel-head {
        flex-direction: column;
    }

    .ts-tour-hotel-price {
        min-width: 0;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .ts-companies-hero {
        padding: 30px 0 26px;
    }

    .ts-companies-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-companies-hero h1 {
        font-size: 28px;
    }

    .ts-companies-grid,
    .ts-tours-grid {
        grid-template-columns: 1fr;
    }

    .ts-company-card-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-company-detail-hero-inner {
        min-height: 0;
        padding: 24px 0;
    }

    .ts-company-detail-title h1 {
        font-size: 24px;
    }

    .ts-company-compact-main {
        align-items: flex-start;
    }

    .ts-company-compact-avatar {
        height: 58px;
        width: 58px;
    }

    .ts-company-compact-title h1 {
        font-size: 22px;
    }

    .ts-tour-compact-cover {
        min-height: 170px;
    }

    .ts-company-story-grid,
    .ts-company-detail-stats,
    .ts-company-lead-form-grid {
        grid-template-columns: 1fr;
    }

    .ts-company-story-card {
        grid-template-columns: 1fr;
    }

    .ts-company-story-image {
        min-height: 150px;
    }

    .ts-company-tour-row {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .ts-company-tour-image {
        width: 100%;
    }

    .ts-company-tour-row em {
        justify-self: flex-start;
    }

    .ts-tour-detail-hero-body {
        grid-template-columns: 1fr;
        padding: 34px 0 38px;
    }

    .ts-tour-detail-hero h1 {
        font-size: 26px;
    }

}
