/* Guide-only layout. Keep the original shared package card CSS loaded via head.php. */
.tt-guide-six-packages { background: #f7f8fa; }
.tt-guide-six-packages .ttpl-section { padding: 36px 0 0; }
.tt-guide-six-packages .ttpl-results { width: 100%; min-width: 0; }
.tt-guide-six-packages .ttpl-layout { grid-template-columns: minmax(0, 1fr); }
.tt-guide-six-packages .ttpl-results-toolbar,
.tt-guide-six-packages .ttpl-pagination,
.tt-guide-six-packages .ttpl-popular { display: none !important; }
.tt-guide-six-packages .ttpl-card-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tt-guide-six-packages .ttpl-card { min-width: 0; }
/* Retain the shared mobile list cards; force the desktop layout even if the
   standard listing script restores the visitor's previous list preference. */
@media (min-width: 768px) {
    .tt-guide-six-packages .ttpl-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card { display: flex; flex-direction: column; min-height: 0; height: 100%; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card-media { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card-image-link { position: relative; display: block; width: 100%; height: 100%; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card-image-link img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card-content { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; padding: 20px; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-card-footer { margin-top: auto; flex-direction: column; align-items: flex-start; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-actions { width: 100%; }
    .tt-guide-six-packages .ttpl-card-list .ttpl-actions > * { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 992px) {
    .tt-guide-six-packages .ttpl-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tt-guide-six-packages .tt-guide-packages-cta { padding-top: 24px; padding-bottom: 36px; text-align: center; }
.tt-guide-six-packages .tt-guide-all-link { display: inline-flex; justify-content: center; align-items: center; width: auto; max-width: 100%; min-height: 44px; padding: 10px 20px; border: 1px solid #be192a; border-radius: 6px; color: #be192a; background: #fff; text-decoration: none; font-weight: 600; white-space: normal; }
.tt-guide-six-packages .tt-guide-all-link:hover,
.tt-guide-six-packages .tt-guide-all-link:focus-visible { color: #fff; background: #be192a; }


/* Specialist travel guides: opt in with <main class="tt-specialist-guide">.
   Reuses the site's existing Bootstrap grid, typography and tour cards. */
.tt-specialist-guide .intro_section,
.tt-specialist-guide .tt-navigation-grid,
.tt-specialist-guide .faq_main { padding-top: 32px; padding-bottom: 32px; }
.tt-specialist-guide .intro_section { padding-bottom: 24px; }
.tt-specialist-guide .tt-guide-city-links { padding-top: 0; }
.tt-specialist-guide .tt-guide-heading { margin: 0 0 16px; }
.tt-specialist-guide .block-title .title,
.tt-specialist-guide .tt-guide-six-packages .ttpl-heading h2 {
    font-size: 28px; font-weight: 600; line-height: 1.3; margin: 0 0 8px;
}
.tt-specialist-guide .intro_section p { font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.tt-specialist-guide .intro_section .collapse h3 { font-size: 22px; line-height: 1.35; margin: 24px 0 10px; }
.tt-specialist-guide .intro_section .read_btn { font-size: 15px; font-weight: 600; color: #be192a; }
.tt-specialist-guide .tt-guide-heading p { margin: 0; font-size: 15px; line-height: 1.6; color: #5f6b7a; }
.tt-specialist-guide .tt-navigation-grid .tt-navigation-link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: 100%; min-height: 46px; padding: 10px 14px; box-sizing: border-box;
    border: 1px solid #dfe3e8; border-radius: 7px; background: #fff;
    color: inherit; font-size: 15px; font-weight: 500; line-height: 1.45; text-decoration: none;
}
.tt-specialist-guide .tt-navigation-grid .tt-navigation-link:hover,
.tt-specialist-guide .tt-navigation-grid .tt-navigation-link:focus-visible { border-color: #be192a; color: #be192a; }
.tt-specialist-guide .tt-guide-city-links .tt-navigation-link { min-height: 76px; padding: 12px 14px; }
.tt-specialist-guide .tt-guide-link-copy { display: block; min-width: 0; }
.tt-specialist-guide .tt-guide-link-title { display: block; font-size: 16px; font-weight: 600; }
.tt-specialist-guide .tt-guide-link-description { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: #5f6b7a; }
.tt-specialist-guide .tt-navigation-arrow { flex-shrink: 0; color: #be192a; font-size: 20px; line-height: 1; }
/* Hide listing chrome only in the compact guide section. Leave quote buttons intact. */
.tt-specialist-guide .tt-guide-six-packages .ttpl-eyebrow,
.tt-specialist-guide .tt-guide-six-packages .ttpl-results-toolbar,
.tt-specialist-guide .tt-guide-six-packages .ttpl-toolbar,
.tt-specialist-guide .tt-guide-six-packages .ttpl-pagination { display: none !important; }
/* Some renderer versions output the result count separately. */
.tt-specialist-guide .tt-guide-six-packages p:has([data-tt-visible-count]) { display: none !important; }
.tt-specialist-guide .tt-guide-six-packages .ttpl-section { padding: 32px 0 0; }
.tt-specialist-guide .tt-guide-six-packages .ttpl-heading { margin-bottom: 20px; }
.tt-specialist-guide .tt-guide-six-packages .tt-guide-packages-cta { padding-top: 24px; padding-bottom: 32px; }
.tt-specialist-guide .tt-guide-related-links { padding-bottom: 24px; }
.tt-specialist-guide .faq_main { padding-top: 16px; }
@media (max-width: 767px) {
    .tt-specialist-guide .intro_section,
    .tt-specialist-guide .tt-navigation-grid,
    .tt-specialist-guide .faq_main { padding-top: 24px; padding-bottom: 24px; }
    .tt-specialist-guide .tt-guide-city-links { padding-top: 0; }
    .tt-specialist-guide .block-title .title,
    .tt-specialist-guide .tt-guide-six-packages .ttpl-heading h2 { font-size: 24px; }
    .tt-specialist-guide .intro_section .collapse h3 { font-size: 20px; }
    .tt-specialist-guide .intro_section p { font-size: 15px; }
    .tt-specialist-guide .tt-guide-city-links .tt-navigation-link { min-height: 64px; }
    .tt-specialist-guide .tt-guide-six-packages .ttpl-section { padding-top: 24px; }
    .tt-specialist-guide .tt-guide-six-packages .tt-guide-packages-cta { padding-bottom: 24px; }
    .tt-specialist-guide .faq_main { padding-top: 12px; }
}

/* Premium guide tables — shared by all pages using tt-specialist-guide.
   Native table semantics and horizontal scrolling are preserved. */
.tt-specialist-guide .intro_section .table-responsive {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #fff;
    margin: 18px 0 24px !important;
    -webkit-overflow-scrolling: touch;
}
.tt-specialist-guide .intro_section .table-responsive:focus-visible {
    outline: 2px solid #a62232;
    outline-offset: 3px;
}
.tt-specialist-guide .intro_section .table-responsive > table.table {
    --bs-table-bg: transparent;
    --bs-table-color: #344054;
    --bs-table-border-color: #e4e9ef;
    width: 100%;
    min-width: 540px;
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #344054;
    background: #fff;
}
.tt-specialist-guide .intro_section .table-responsive > table.table tr,
.tt-specialist-guide .intro_section .table-responsive > table.table thead,
.tt-specialist-guide .intro_section .table-responsive > table.table tbody {
    border: 0 !important;
}
.tt-specialist-guide .intro_section .table-responsive > table.table th,
.tt-specialist-guide .intro_section .table-responsive > table.table td {
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4e9ef !important;
    box-shadow: none !important;
    vertical-align: middle;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    white-space: normal;
}
.tt-specialist-guide .intro_section .table-responsive > table.table thead th {
    background: #172b40 !important;
    color: #fff !important;
    font-weight: 600;
    border-bottom-color: #172b40 !important;
}
.tt-specialist-guide .intro_section .table-responsive > table.table tbody tr:nth-child(odd) > * {
    background: #fff !important;
    color: #344054;
}
.tt-specialist-guide .intro_section .table-responsive > table.table tbody tr:nth-child(even) > * {
    background: #f5f7fa !important;
    color: #344054;
}
.tt-specialist-guide .intro_section .table-responsive > table.table tbody tr:last-child > * {
    border-bottom: 0 !important;
}
.tt-specialist-guide .intro_section .table-responsive > table.table td:first-child {
    font-weight: 500;
}
.tt-specialist-guide .intro_section .table-responsive > table.table a {
    color: #a62232;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tt-specialist-guide .intro_section .table-responsive > table.table a:hover,
.tt-specialist-guide .intro_section .table-responsive > table.table a:focus-visible { color: #761523; }
.tt-specialist-guide .intro_section .table-responsive > table.table caption {
    caption-side: bottom;
    background: #fff;
    border-top: 1px solid #e4e9ef;
    padding: 10px 14px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
/* Wider tables need more space; keep the remaining columns readable on phones. */
.tt-specialist-guide .intro_section .table-responsive > table.table:has(thead tr > :nth-child(4)) {
    min-width: 680px;
}
/* Hide the full-listing chrome only in the six-card guide include. */
.tt-guide-six-packages .ttpl-results-toolbar,
.tt-guide-six-packages .ttpl-toolbar,
.tt-guide-six-packages .ttpl-eyebrow,
.tt-guide-six-packages .ttpl-pagination { display: none !important; }
.tt-guide-six-packages p:has([data-tt-visible-count]) { display: none !important; }
.tt-specialist-guide .tt-guide-related-links .tt-navigation-link {
    min-height: 52px;
    padding: 12px 15px;
    font-size: 15px;
}
@media (max-width: 767px) {
    .tt-specialist-guide .intro_section .table-responsive > table.table { font-size: 15px; }
    .tt-specialist-guide .intro_section .table-responsive > table.table th,
    .tt-specialist-guide .intro_section .table-responsive > table.table td { padding: 10px 12px !important; }
    .tt-specialist-guide .tt-guide-related-links .tt-navigation-link { min-height: 48px; padding: 10px 12px; }
}


/* Tusk Travel | Shared premium content tables
   Load once from assets/common/head.php AFTER common styles.
   Applies only to responsive content tables inside .intro_section.
   No page wrapper, table markup changes or JavaScript required.
   Leave booking, package card, itinerary and footer tables outside this scope. */

.intro_section .table-responsive:has(> table.table) {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #fff;
    margin: 18px 0 24px !important;
    -webkit-overflow-scrolling: touch;
}
.intro_section .table-responsive:has(> table.table):focus-visible {
    outline: 2px solid #a62232;
    outline-offset: 3px;
}
.intro_section .table-responsive > table.table {
    --bs-table-bg: transparent;
    --bs-table-color: #344054;
    --bs-table-border-color: #e4e9ef;
    width: 100%;
    min-width: 540px;
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #344054;
    background: #fff;
}
.intro_section .table-responsive > table.table tr,
.intro_section .table-responsive > table.table thead,
.intro_section .table-responsive > table.table tbody {
    border: 0 !important;
}
.intro_section .table-responsive > table.table th,
.intro_section .table-responsive > table.table td {
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4e9ef !important;
    box-shadow: none !important;
    vertical-align: middle;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    white-space: normal;
}
.intro_section .table-responsive > table.table thead th {
    background: #172b40 !important;
    color: #fff !important;
    font-weight: 600;
    border-bottom-color: #172b40 !important;
}
.intro_section .table-responsive > table.table tbody tr:nth-child(odd) > * {
    background: #fff !important;
    color: #344054;
}
.intro_section .table-responsive > table.table tbody tr:nth-child(even) > * {
    background: #f5f7fa !important;
    color: #344054;
}
.intro_section .table-responsive > table.table tbody tr:last-child > * {
    border-bottom: 0 !important;
}
.intro_section .table-responsive > table.table td:first-child {
    font-weight: 500;
}
.intro_section .table-responsive > table.table a {
    color: #a62232;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.intro_section .table-responsive > table.table a:hover,
.intro_section .table-responsive > table.table a:focus-visible { color: #761523; }
.intro_section .table-responsive > table.table caption {
    caption-side: bottom;
    background: #fff;
    border-top: 1px solid #e4e9ef;
    padding: 10px 14px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
/* Wider tables need more space; keep the remaining columns readable on phones. */
.intro_section .table-responsive > table.table:has(thead tr > :nth-child(4)) {
    min-width: 680px;
}

@media (max-width: 767px) {
    .intro_section .table-responsive > table.table { font-size: 15px; }
    .intro_section .table-responsive > table.table th,
    .intro_section .table-responsive > table.table td { padding: 10px 12px !important; }
}
