/**
 * Tour Layout Fix - Consistent Spacing & Alignment System
 * This file fixes all spacing and alignment issues on the tour page
 */

/* Import Montserrat and Open Sans font families */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables for Consistent Spacing */
:root {
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --spacing-xxl: 32px;
    --spacing-xxxl: 40px;

    --container-padding: 24px;
    --section-gap: 32px;
    --card-padding: 24px;
    --grid-gap: 20px;

    --border-radius: 8px;
    --border-color: #e0e0e000;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

    --primary-color: var(--tt-green-500);
    --theme-palette-color-9: #00a884;
    /* Theme color for subtitle, metas, icons */
    --text-primary: #111;
    --text-secondary: #555;
    --text-muted: #666;
    --bg-light: #f9f9f9;
}

/* STREAMLINED TYPOGRAPHY SYSTEM */
body.single-tour {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    font-size: 15px;
    /* Slightly larger base font */
    font-weight: 400;
}

/* CONSISTENT HEADING SYSTEM - Point 8: Make all headings darker */
body.single-tour h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--spacing-lg) 0;
    color: #222 !important; /* Point 8: Darker headings */
}

body.single-tour h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 var(--spacing-md) 0;
    color: #222 !important; /* Point 8: Darker headings */
}

body.single-tour h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 var(--spacing-sm) 0;
    color: #222 !important; /* Point 8: Darker headings */
}

body.single-tour h4,
body.single-tour h5,
body.single-tour h6 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 var(--spacing-sm) 0;
    color: #222 !important; /* Point 8: Darker headings */
}

body.single-tour p {
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.6;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Hide default WordPress elements */
.entry-header,
.entry-title {
    display: none !important;
}

/* Main Container Layout */
.tt-tour-container {
    display: flex;
    flex-direction: row-reverse;
    gap: var(--spacing-xxl);
    width: var(--tt-tour-page-width);
    max-width: var(--tt-max-width);
    margin: 0 auto;
    align-items: flex-start;
}

.tt-tour-content {
    flex: 1;
    min-width: 0;
}

.tt-tour-sidebar {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: var(--spacing-lg);
    align-self: flex-start;
}

/* Tour Header Section - Point 1&2: Remove blue line and increase space above title */
.tt-tour-header {
    margin-bottom: var(--spacing-lg);
    padding: 60px 0 0 0; /* Point 2: Increased space above title */
    background-color: transparent !important;
    border-top: none !important; /* Point 1: Remove blue line */
    border-bottom: none !important;
    border: none !important;
}

.tour-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: none;
}

/* Tour Location - Ensure it's not centered */
.tour-location {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #333;
    font-size: 13px;
    width: 100%;
    justify-content: flex-start; /* Ensure it's not centered */
}

/* Tour Meta Wrapper - Point 3: Decrease spacing between metas */
.tour-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px; /* Point 3: Decreased spacing between metas */
    padding: 2px 0; /* Point 3: Reduced padding */
    border: none !important;
    margin-bottom: var(--spacing-sm);
    max-width: 100%;
    overflow: hidden;
    justify-content: flex-start; /* Ensure it's not centered */
}

.travel-flexibly,
.tour-rating,
.tour-meta-item,
.tour-category-badge {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--theme-palette-color-9);
    /* Use theme color */
    white-space: nowrap;
    flex-shrink: 1;
    /* Allow shrinking on small screens */
    min-width: 0;
    /* Allow text truncation if needed */
}

.travel-flexibly {
    background: transparent;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    border: none;
    margin-bottom: var(--spacing-xs);
}

.travel-flexibly i {
    color: var(--theme-palette-color-9);
    /* Use green theme color */
    margin-right: var(--spacing-xs);
}

.tour-rating-stars {
    color: #ffc107;
    margin-right: var(--spacing-xs);
}

.tour-rating-text {
    margin-right: var(--spacing-xs);
    font-weight: 500;
}

.tour-reviews-link {
    color: var(--text-muted);
    text-decoration: underline;
}

.tour-meta-item i {
    margin-right: var(--spacing-xs);
    color: var(--text-muted);
    width: 14px;
    text-align: center;
}

.tour-category-badge {
    background: transparent;
    color: var(--theme-palette-color-9);
    border: none !important;
    padding: 0;
    text-decoration: none;
    font-weight: 600;
}

.tour-category-badge:hover {
    color: var(--theme-palette-color-9);
    /* Keep green color on hover */
    text-decoration: underline;
    /* Add underline on hover instead */
}

.tour-category-badge i {
    color: var(--theme-palette-color-9);
    /* Green theme color icon */
    margin-right: var(--spacing-xs);
}

.tour-category-badge:hover i {
    color: var(--theme-palette-color-9);
    /* Keep green icon on hover */
}

/* Tour Excerpt - Reduce spacing */
.tt-tour-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--theme-palette-color-9) !important;
    margin-bottom: var(--spacing-sm);
}

/* Combined Content Section - Remove white background */
.tt-tour-combined-section {
    background: transparent !important;
    border-radius: var(--border-radius);
    border: none !important;
    box-shadow: none;
    overflow: hidden;
    margin-bottom: var(--section-gap);
}

/* Featured Image */
.tt-tour-image-section {
    margin: 0;
    padding: 0;
}

.tt-featured-image {
    width: 100%;
    margin: 0;
}

.tt-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    border-radius: 10px; /* Increase rounding */
}

/* Points 4-6: Make tour info, description, and overview sections flat */
.tt-tour-section,
.tt-tour-info-section,
.tt-tour-overview-section,
.tt-tour-highlights,
.tt-tour-itinerary {
    padding: 0 !important; /* Point 4: Remove padding to make flat */
    border: none !important;
    margin: 20px 0;
    position: relative;
    box-sizing: border-box;
    background: transparent !important; /* Points 4-6: Make flat by removing backgrounds */
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove border from first section after image */
.tt-tour-info-section {
    border: none !important;
}

/* UNIFIED CONTAINER STRUCTURE - Every section gets identical nesting levels */

/* Level 1: Section Wrapper (all sections have this) - Structure defined above in UNIFIED SECTION STYLING */

/* ALL SECTION HEADERS - IDENTICAL CSS NO EXCEPTIONS */
.tt-tour-section h2,
.tt-tour-info-section h2,
.tt-tour-overview-section h2,
.tt-tour-highlights h2,
.tt-tour-itinerary h2 {
    /* EXACT SAME CSS FOR ALL HEADERS */
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-lg) 0;
    padding: 0;
    line-height: 1.3;
}

/* Remove all borders from content containers */
.tt-tour-info-grid,
.tt-tour-description,
.tt-route-map,
.tt-tour-overview-content,
.tt-highlights-list {
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border: none !important;
}

/* Ensure includes/excludes section matches the same structure - defined below in separate section */

.tt-tour-includes h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-lg) -2px;
    /* Move 2px to the left */
    padding: 0 var(--card-padding);
    line-height: 1.3;
    display: block !important;
    /* Override the display: none */
}

.tt-tour-includes .tt-includes-grid {
    padding: 0 var(--card-padding);
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border: none !important;
}

/* Tour Info Section - Level 3 Content */
.tt-tour-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    /* No additional padding - parent container handles it */
}

.tt-tour-info-item {
    display: flex;
    align-items: flex-start;
    background: transparent !important; /* Point 4: Make flat by removing background */
    padding: var(--spacing-md); /* Reduced padding */
    border-radius: 0 !important; /* Point 4: Make flat - no rounded corners */
    border: none !important;
    box-shadow: none !important;
    margin-bottom: var(--spacing-sm);
}

.tt-tour-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    border: none !important;
    background-color: #00a884;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    font-size: 18px;
}

.tt-tour-info-content h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
    letter-spacing: 0.5px;
}

.tt-tour-info-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Tour Description Section - Level 3 Content */
.tt-tour-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    border: none !important;
    /* No additional padding - parent container handles it */
}

.tt-tour-description h3 {
    font-size: 18px;
    font-weight: 600;
    border: none !important;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

/* Tour Itinerary - Route Map - Level 3 Content */
.tt-route-map {
    position: relative;
    /* No additional padding - parent container handles it */
}

.tt-destination-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border: none !important;
    padding-left: var(--spacing-xxl);
}

.tt-destination-item:last-child {
    border: none !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tt-destination-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.tt-destination-title i {
    position: absolute;
    left: calc(-1 * var(--spacing-xxl));
    top: 2px;
    color: var(--theme-palette-color-9);
    /* Use green theme color */
    background: transparent;
    /* Remove white background */
    padding: var(--spacing-xs);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    /* Slightly larger since no border */
    border: none;
    /* Remove border */
    z-index: 2;
}

.tt-destination-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Connecting line for route map - adjusted for consistent padding */
.tt-route-map::before {
    content: "";
    position: absolute;
    left: 10px;
    /* Relative to the route-map container which already has padding */
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--theme-palette-color-9) 0%, rgba(0, 168, 132, 0.3) 100%);
    z-index: 1;
}

/* Tour Highlights - Level 3 Content */
.tt-tour-highlights {
    margin-bottom: 20px; /* Add 20px spacing before next section */
}

.tt-highlights-list {
    list-style: none;
    margin: 0;
    /* No additional padding - parent container handles it */
}

.tt-highlights-list li {
    position: relative;
    padding: var(--spacing-sm) 0 var(--spacing-sm) 0; /* Remove left padding for icons */
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    border: none !important;
    line-height: 1.6;
}

.tt-highlights-list li:last-child {
    border: none !important;
    margin-bottom: 0;
}

/* Remove icon styling since icons are removed */
.tt-highlights-list li i {
    display: none;
}

/* Tour Overview - Level 3 Content */
.tt-tour-overview-section {
    margin-top: 20px; /* Add 20px spacing after tour highlights */
}

.tt-tour-overview-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    /* No additional padding - parent container handles it */
}

.tt-tour-overview-content h3,
.tt-tour-overview-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

/* INCLUDES/EXCLUDES SECTION - BRAND NEW DESIGN */
.tt-tour-includes-new {
    background: transparent;
    border-radius: 0;
    border: none !important;
    margin: 20px 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.tt-includes-new-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tt-includes-new,
.tt-not-includes-new {
    padding: 0;
}

.tt-includes-title,
.tt-not-includes-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

/* Remove icons from titles */
.tt-title-icon {
    display: none;
}

.tt-includes-new-list,
.tt-not-includes-new-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tt-include-item,
.tt-not-include-item {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.tt-include-item:last-child,
.tt-not-include-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tt-include-item::before,
.tt-not-include-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/* Included items - green background with white checkmark */
.tt-include-item::before {
    background-color: #00a884; /* Sea pickle green background */
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    mask-size: 12px;
    -webkit-mask-size: 12px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

/* Not included items - red background with white X */
.tt-not-include-item::before {
    background-color: #c10000; /* Red background */
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    mask-size: 12px;
    -webkit-mask-size: 12px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

/* Hide the old includes section */
.tt-tour-includes {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tt-includes-new-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Tour Highlights - Level 3 Content */
.tt-tour-highlights {
    margin-bottom: 20px; /* Add 20px spacing before next section */
}

.tt-highlights-list {
    list-style: none;
    margin: 0;
    /* No additional padding - parent container handles it */
}

.tt-highlights-list li {
    position: relative;
    padding: var(--spacing-sm) 0 var(--spacing-sm) 0; /* Remove left padding for icons */
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    border: none !important;
    line-height: 1.6;
}

.tt-highlights-list li:last-child {
    border: none !important;
    margin-bottom: 0;
}

/* Remove icon styling since icons are removed */
.tt-highlights-list li i {
    display: none;
}

/* Tour Overview - Level 3 Content */
.tt-tour-overview-section {
    margin-top: 20px; /* Add 20px spacing after tour highlights */
}

.tt-tour-overview-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    /* No additional padding - parent container handles it */
}

.tt-tour-overview-content h3,
.tt-tour-overview-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

/* Sidebar Styling */
.tt-booking-card {
    background: white;
    border-radius: 0; /* Remove rounding */
    box-shadow: var(--shadow);
    overflow: hidden;
    
    border: none !important;
    transition: box-shadow 0.3s ease;
    /* Smooth shadow transition */
}

.tt-booking-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    /* Darker shadow on hover */
}

.tt-tripadvisor {
    background: #f8f9fa;
    padding: var(--spacing-md);
    text-align: center;
    border: none !important;
}

.tt-rating-stars {
    color: #00af87;
    font-size: 16px;
    margin-bottom: var(--spacing-xs);
}

.tt-rating-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.tt-sidebar-meta {
    padding: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    border: none !important;
}

.tt-sidebar-meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    background: #f8f9fa;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    border: none !important;
}

.tt-sidebar-meta-item i {
    margin-right: 5px;
    color: #00a884;
    font-size: 13px;
}

.tt-price-wrap {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border: none !important;
}

.tt-price-from {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.tt-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.tt-price-currency {
    font-size: 24px;
    margin-right: var(--spacing-xs);
}

.tt-book-now {
    display: block;
    background: #00a884 !important; /* Sea pickle green */
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 16px 24px;
    margin: 16px auto;
    text-decoration: none;
    border: none !important;
    border-radius: 0; /* Flat design */
    text-transform: uppercase;
    transition: none; /* Remove animations */
    letter-spacing: 0.5px;
    box-shadow: none; /* Remove shadow */
    width: fit-content;
}

.tt-book-now:hover {
    background: #008f72; /* Darker sea pickle green */
    color: white;
    text-decoration: none;
    transform: none; /* Remove animations */
    box-shadow: none; /* Remove shadow */
}

.tt-additional-info {
    padding: var(--spacing-md);
    font-size: 13px;
    color: var(--text-muted);
}

.tt-additional-info p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.tt-additional-info i {
    color: #4CAF50;
    margin-right: var(--spacing-xs);
    width: 16px;
    text-align: center;
}

/* Reviews Section */
.tt-reviews-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    margin-top: var(--section-gap);
}

.tt-reviews-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.tt-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.tt-reviews-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tt-reviews-count-text {
    font-size: 14px;
    color: var(--text-muted);
}

.tt-leave-review-btn {
    background-color: #00a884;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.tt-leave-review-btn:hover {
    background: #00a884;
}

/* Review Form */
.tt-review-form {
    background: #f8f9fa;
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border: none !important;
}

.tt-review-form h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.tt-form-group {
    margin-bottom: var(--spacing-md);
}

.tt-form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.tt-form-group input,
.tt-form-group textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none !important;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.tt-form-group input:focus,
.tt-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    border: none !important;
    box-shadow: 0 0 0 2px rgba(193, 0, 0, 0.1);
}

.tt-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Google Play Store-like rating selection */
.tt-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.tt-rating-input input[type="radio"] {
    display: none;
}

.tt-rating-input label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.tt-rating-input label:hover,
.tt-rating-input label:hover ~ label,
.tt-rating-input input[type="radio"]:checked ~ label {
    color: #FFC107;
}

.tt-submit-review-btn {
    background: #00a884;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.tt-submit-review-btn:hover {
    background: #008f72;
}

/* Responsive Design - Proper Centering */
@media (max-width: 1024px) {
    .tt-tour-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .tt-tour-sidebar {
        width: 100%;
        position: sticky;
        top: var(--spacing-lg);
        order: -1;
    }

    .tt-tour-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .tt-includes-new-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .tt-includes,
    .tt-not-includes {
        padding: 0;
    }
    
    /* Stack includes/excludes vertically on mobile */
    .tt-includes-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Adjust meta wrapper for mobile */
    .tour-meta-wrapper {
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
    
    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
    
    /* Adjust tour location for mobile */
    .tour-location {
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
    
    /* Adjust sidebar elements for mobile */
    .tt-sidebar-meta {
        justify-content: flex-start; /* Remove centering */
    }
    
    .tt-sidebar-meta-item {
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
    
    /* Adjust reviews header for mobile */
    .tt-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .tt-reviews-header h2 {
        text-align: left;
    }
    
    .tt-reviews-count-text {
        text-align: left;
    }
    
    /* Responsive rating input */
    .tt-rating-input {
        justify-content: center;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    body.single-tour {
        font-size: 14px;
    }
    
    body.single-tour h1 {
        font-size: 24px;
    }
    
    body.single-tour h2 {
        font-size: 20px;
    }
    
    .tt-tour-container {
        padding: 0 15px;
    }
    
    .tt-tripadvisor {
        padding: var(--spacing-sm);
    }
    
    .tt-rating-stars {
        font-size: 14px;
    }
    
    .tt-sidebar-meta {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    
    .tt-sidebar-meta-item {
        padding: var(--spacing-xs);
        font-size: 12px;
    }
    
    .tt-price-wrap {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .tt-price-amount {
        font-size: 28px;
    }
    
    .tt-price-currency {
        font-size: 20px;
    }
    
    .tt-book-now {
        padding: 12px 20px;
        font-size: 14px;
        margin: 12px auto;
        width: fit-content;
        background: #00a884 !important; /* Sea pickle green */
    }
    
    .tt-additional-info {
        padding: var(--spacing-sm);
        font-size: 12px;
    }
    
    .tt-reviews-section {
        padding: var(--spacing-md);
    }
    
    .tt-reviews-header {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
    }
    
    .tt-reviews-header h2 {
        font-size: 20px;
    }
    
    .tt-leave-review-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 13px;
    }
    
    .tt-review-form {
        padding: var(--spacing-md);
    }
    
    .tt-review-form h3 {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }
    
    .tt-form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .tt-form-group input,
    .tt-form-group textarea {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 13px;
    }
    
    .tt-submit-review-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .tt-tour-container {
        padding: 0 10px;
    }
    
    .tt-book-now {
        padding: 10px 16px;
        font-size: 13px;
        margin: 10px auto;
        width: fit-content;
        background: #00a884 !important; /* Sea pickle green */
    }
    
    body.single-tour h1 {
        font-size: 22px;
    }
    
    body.single-tour h2 {
        font-size: 18px;
    }
    
    .tt-tour-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-tour-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .tt-tour-info-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }
    
    .tt-tour-info-content h4 {
        font-size: 13px;
    }
    
    .tt-tour-info-content p {
        font-size: 13px;
    }
    
    .tt-highlights-list li {
        font-size: 13px;
        padding: var(--spacing-xs) 0;
    }
    
    .tt-tour-overview-content {
        font-size: 13px;
    }
    
    .tt-tour-overview-content h3,
    .tt-tour-overview-content h4 {
        font-size: 15px;
    }
    
    .tt-destination-title {
        font-size: 15px;
    }
    
    .tt-destination-description {
        font-size: 13px;
    }
    
    .tt-includes-title,
    .tt-not-includes-title {
        font-size: 18px;
    }
    
    .tt-include-item,
    .tt-not-include-item {
        font-size: 13px;
        padding: var(--spacing-xs) 0 var(--spacing-xs) 25px;
    }
}

/* Any red text that should be green */
.single-tour [style*="color: red"],
.single-tour [style*="color: var(--tt-green-500)"],
.single-tour .text-red {
    color: var(--theme-palette-color-9) !important;
}

/* FORCE ALL RED ICONS TO GREEN - HIGHEST PRIORITY */

/* Route map location icons - force green */
.single-tour .tt-destination-title i,
.single-tour .tt-route-map i,
.single-tour .route-map i {
    color: var(--theme-palette-color-9) !important;
    border-color: var(--theme-palette-color-9) !important;
    border: none !important;
}

/* Tour location icon in header - force green */
.single-tour .tour-location i,
.single-tour .tt-tour-location i {
    color: var(--theme-palette-color-9) !important;
}

/* Tour category meta icon - force green */
.single-tour .tour-category-badge i,
.single-tour .tour-meta-item i {
    color: var(--theme-palette-color-9) !important;
}

/* Any map marker or location icons - force green */
.single-tour .fa-map-marker,
.single-tour .fa-map-marker-alt,
.single-tour .fa-location-dot,
.single-tour i[class*="map"],
.single-tour i[class*="location"] {
    color: var(--theme-palette-color-9) !important;
}

/* Override any inline styles or other CSS that makes icons red */
.single-tour i[style*="color: red"],
.single-tour i[style*="color: var(--tt-green-500)"],
.single-tour i[style*="color: var(--tt-pink-500)"] {
    color: var(--theme-palette-color-9) !important;
}

/* Tour Info Section - Flat design, aligned, no padding */
.tt-tour-info-section {
    margin: 20px 0;
    padding: 0; /* Remove padding */
    background: transparent; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-info-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0; /* Remove padding */
    font-size: 22px;
    font-weight: 600;
}

.tt-tour-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0; /* Remove padding */
    margin: 0;
}

.tt-tour-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0; /* Remove padding to make flat */
    background: transparent; /* Make flat */
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Tour Description Section - Remove active background, flat design */
.tt-tour-section {
    margin: 20px 0;
    padding: 0;
    background: transparent !important; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0;
}

.tt-tour-description {
    padding: 0;
    background: transparent;
    border: none;
}

/* Tour Overview Section - Flat design */
.tt-tour-overview-section {
    margin: 20px 0;
    padding: 0;
    background: transparent !important; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-overview-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0;
}

.tt-tour-overview-content {
    padding: 0;
    background: transparent;
    border: none;
}

/* Remove justify-center properties from responsive sections */
@media (max-width: 900px) {
    .tour-meta-wrapper {
        gap: var(--spacing-xs);
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 12px;
        flex-basis: auto;
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .tour-meta-wrapper {
        gap: var(--spacing-xs);
        align-items: flex-start; /* Remove centering */
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 11px;
        flex-basis: calc(50% - var(--spacing-xs));
        max-width: calc(50% - var(--spacing-xs));
        margin-bottom: var(--spacing-xs);
        text-align: left; /* Remove centering */
    }
}

@media (max-width: 480px) {
    .tour-meta-wrapper {
        flex-direction: column;
        align-items: flex-start; /* Remove centering */
        gap: var(--spacing-xs);
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 12px;
        flex-basis: auto;
        max-width: 100%;
        margin-bottom: 0;
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
}

/* Animation and Transitions */
.tt-tour-info-item,
.tt-booking-card,
.tt-tour-combined-section,
.tt-tour-includes {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tt-tour-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Focus States for Accessibility */
.tt-book-now:focus,
.tt-leave-review-btn:focus,
.tt-submit-review-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .tt-tour-sidebar,
    .tt-reviews-section {
        display: none;
    }

    .tt-tour-container {
        flex-direction: column;
        max-width: none;
        padding: 0;
    }



/* Pe
rfect Section Alignment - Visual Consistency */

.tt-tour-combined-section {
    box-shadow: none;
    border: none !important;
}

/* Pe
rfect Section Alignment - Visual Consistency */

/* Ensure all sections have consistent visual weight */
.tt-tour-section,
.tt-tour-info-section,
.tt-tour-overview-section,
.tt-tour-highlights,
.tt-tour-itinerary {
    min-height: 60px;
    /* Minimum height for visual consistency */
}

/* Add subtle visual separation between sections */
.tt-tour-section::after,
.tt-tour-info-section::after,
.tt-tour-overview-section::after,
.tt-tour-highlights::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    margin: 2 var(--card-padding);
    opacity: 0.5;
}

/* Remove separator from last section */
.tt-tour-highlights::after {
    display: none;
}

/* Ensure includes/excludes section aligns with the combined section */
.tt-tour-includes {
    /* Match the exact styling of the combined section */
    border: none !important;
}

/* Perfect text alignment within sections */
.tt-tour-description p,
.tt-tour-overview-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* Consistent list item spacing */
.tt-highlights-list li,
.tt-includes-list li,
.tt-not-includes-list li {
    min-height: 24px;
    /* Ensures consistent line height */
    display: flex;
    align-items: flex-start;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

/* Icon alignment fix for lists */
.tt-highlights-list li i,
.tt-includes-list li i,
.tt-not-includes-list li i {
    margin-top: 2px;
    /* Fine-tune icon alignment with text */
}

/* Ensure route map items are perfectly aligned */
.tt-destination-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tt-destination-title {
    display: flex;
    align-items: flex-start;
    min-height: 24px;
}

/* Perfect grid alignment for tour info */
.tt-tour-info-grid {
    align-items: stretch;
    /* Ensure all grid items have same height */
}

.tt-tour-info-item {
    height: 100%;
    /* Fill grid cell completely */
    box-sizing: border-box;
}

/* Includes/excludes grid alignment */
.tt-includes-grid {
    align-items: flex-start;
}

.tt-includes,
.tt-not-includes {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tt-includes-list,
.tt-not-includes-list {
    flex: 1;
}

/* Fine-tune section spacing for perfect alignment */
.tt-tour-section:first-of-type,
.tt-tour-info-section:first-of-type {
    padding-top: var(--card-padding);
}

/* Ensure consistent bottom spacing */
.tt-tour-section:last-of-type,
.tt-tour-overview-section:last-of-type,
.tt-tour-highlights:last-of-type,
.tt-tour-itinerary:last-of-type {
    padding-bottom: var(--card-padding);
}

/* Perfect mobile alignment */
@media (max-width: 768px) {

    .tt-tour-section::after,
    .tt-tour-info-section::after,
    .tt-tour-overview-section::after,
    .tt-tour-highlights::after {
        margin: 0 var(--card-padding);
    }
}

/* Accessibility improvements while maintaining alignment */
.tt-tour-info-item:focus-within,
.tt-highlights-list li:focus-within,
.tt-includes-list li:focus-within,
.tt-not-includes-list li:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
    border: none !important;
}

/* Smooth transitions for better UX while maintaining alignment */
.tt-tour-section,
.tt-tour-info-section,
.tt-tour-overview-section,
.tt-tour-highlights,
.tt-tour-itinerary,
.tt-tour-includes {
    transition: all 0.3s ease;
}

/* Print styles - maintain alignment in print */
@media print {

    .tt-tour-section,
    .tt-tour-info-section,
    .tt-tour-overview-section,
    .tt-tour-highlights,
    .tt-tour-itinerary {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .tt-tour-section::after,
    .tt-tour-info-section::after,
    .tt-tour-overview-section::after,
    .tt-tour-highlights::after {
        display: none;
    }
}

/* CR
ITICAL: Perfect Title Alignment Override - Ensures all titles line up exactly */
.tt-tour-section h2,
.tt-tour-info-section h2,
.tt-tour-overview-section h2,
.tt-tour-highlights h2,
.tt-tour-itinerary h2,
.tt-tour-includes h2 {
    /* Force identical positioning - highest specificity */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--card-padding) !important;
    padding-right: var(--card-padding) !important;
    text-indent: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    /* Ensure consistent text flow */
    text-align: left !important;
}
}

/* Ensure parent containers don't interfere with title alignment */
body {
    direction: ltr !important;
    /* Reset any inherited spacing */
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    outline-offset: 0 !important;
}

/* Ensure parent containers don't interfere with title alignment */
.tt-tour-combined-section,
.tt-tour-includes {
    /* Reset any container transforms or positioning */
    transform: none;
    position: relative;
    left: 0;
    right: 0;
}

/* Additional alignment insurance for all section containers */
.tt-tour-section,
.tt-tour-info-section,
.tt-tour-overview-section,
.tt-tour-highlights,
.tt-tour-itinerary {
    /* Ensure section containers don't offset titles */
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
    right: 0;
}

/* Visual alignment guide (remove in production) - uncomment to see alignment */
/*
.tt-tour-section h2::before,
.tt-tour-info-section h2::before,
.tt-tour-overview-section h2::before,
.tt-tour-highlights h2::before,
.tt-tour-itinerary h2::before,
.tt-tour-includes h2::before {
    content: "|";
    position: absolute;
    left: 0;
    top: 0;
    color: red;
    font-weight: normal;
    z-index: 9999;
}
*/

/* FINAL OVERRIDE - MAKE ALL CONTAINERS IDENTICAL */
.tt-tour-section,
.tt-tour-info-section,
.tt-tour-overview-section,
.tt-tour-highlights,
.tt-tour-itinerary,
.tt-tour-includes {
    /* FORCE IDENTICAL CSS FOR ALL CONTAINERS */
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    border: none !important;
}

/* Remove border from first section */
.tt-tour-info-section {
    border-top: none !important;
}

/* FORCE IDENTICAL HEADERS */
.tt-tour-section h2,
.tt-tour-info-section h2,
.tt-tour-overview-section h2,
.tt-tour-highlights h2,
.tt-tour-itinerary h2 {
    /* FORCE IDENTICAL CSS FOR ALL HEADERS */
    padding: 0 !important;
    margin: 0 0 var(--spacing-lg) 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--text-primary) !important;
}

/* HIDE THE MAIN INCLUDES TITLE - FORCE OVERRIDE */
.tt-tour-includes h2 {
    display: none !important;
}

/* FORCE INCLUDES SUB-TITLES TO ALIGN WITH OTHER SECTION TITLES */
.tt-includes h3,
.tt-not-includes h3 {
    /* MAKE THESE ALIGN EXACTLY LIKE SECTION TITLES */
    padding: 0 !important;
    margin: 0 0 var(--spacing-lg) 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--text-primary) !important;
}

/* FORCE IDENTICAL CONTENT */
.tt-tour-info-grid,
.tt-tour-description,
.tt-route-map,
.tt-tour-overview-content,
.tt-highlights-list,
.tt-includes-grid {
    /* Identical CSS for all content */
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

/* CSS LOAD
ING TEST - If you see this in browser dev tools, the CSS is loading */
body.single-tour::before {
    content: "TOUR-LAYOUT-FIX-LOADED";
    display: none;
}

/* RES
PONSIVE DESIGN - PERCENTAGE-BASED ALIGNMENT WITH HEADER */

/* Tablet Layout - Maintain header alignment */
@media (max-width: 1024px) {
    .tt-tour-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        width: 90%;
        /* Wider on tablets but maintain alignment */
        margin-left: 5%;
        /* Adjust margins for tablets */
        margin-right: 5%;
    }

    .tt-tour-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }

    .tt-tour-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .tt-includes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .tt-includes-grid::before {
        display: none;
    }

    .tt-includes,
    .tt-not-includes {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Mobile Layout - Maintain header alignment */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --card-padding: 16px;
        --section-gap: 24px;
        --grid-gap: 16px;
    }

    .tt-tour-container {
        width: 95%;
        /* Almost full width on mobile */
        margin-left: 2.5%;
        /* Small margins to align with mobile header */
        margin-right: 2.5%;
    }

    .tour-title {
        font-size: 28px;
    }

    .tour-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    /* Maintain section structure on mobile */
    .tt-tour-section h2,
    .tt-tour-info-section h2,
    .tt-tour-overview-section h2,
    .tt-tour-highlights h2,
    .tt-tour-itinerary h2,
    .tt-tour-includes h2 {
        padding: 0 0 0 0;
        position: relative;
        left: 0;
        text-indent: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .tt-tour-info-item {
        padding: var(--spacing-md);
    }

    .tt-tour-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .tt-destination-item {
        padding-left: var(--spacing-lg);
    }

    .tt-destination-title i {
        left: calc(-1 * var(--spacing-lg));
    }

    .tt-route-map::before {
        left: calc(var(--card-padding) + 8px);
    }
}

/* Small Mobile Layout - Maintain header alignment */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
        --card-padding: 12px;
        --section-gap: 20px;
        --grid-gap: 12px;
    }

    .tt-tour-container {
        width: 98%;
        /* Almost full width on small phones */
        margin-left: 1%;
        /* Minimal margins for small screens */
        margin-right: 1%;
        padding: var(--spacing-sm);
    }

    .tour-title {
        font-size: 24px;
    }

    /* Maintain section structure on small screens */
    .tt-tour-section h2,
    .tt-tour-info-section h2,
    .tt-tour-overview-section h2,
    .tt-tour-highlights h2,
    .tt-tour-itinerary h2,
    .tt-tour-includes h2 {
        padding: 0 0 0 0;
        font-size: 18px;
        position: relative;
        left: 0;
        text-indent: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .tt-price-amount {
        font-size: 28px;
    }

    .tt-book-now {
        font-size: 14px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Large Desktop - Maintain perfect centering */
@media (min-width: 1400px) {
    .tt-tour-container {
        width: 85%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 30px;
    }
}





/* Large Desktop - Perfect logo alignment */
@media (min-width: 1400px) {
    .tt-tour-container {
        width: 80%;
        margin-left: 15%;
        /* Larger screens logo alignment */
        margin-right: 5%;
    }

    .tt-tour-content {
        padding-left: 3%;
        /* More padding for large screens */
    }
}

/* RESPONSIV
E DESIGN - WIDE SPAN LAYOUT */

/* Large Tablets and Small Laptops - Maintain wide span */
@media (max-width: 1024px) and (min-width: 769px) {
    .tt-tour-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        width: 92%;
        /* Wide span on tablets */
        max-width: 1200px;
        margin-left: 6%;
        /* Maintain logo alignment */
        margin-right: 2%;
    }

    .tt-tour-content {
        padding-left: 1%;
        /* Reduced padding for tablets */
    }

    .tt-tour-sidebar {
        width: 100%;
        position: sticky; /* Keep sticky on tablets */
        order: -1;
        top: var(--spacing-lg);
    }
}

/* Standard Tablets - Wide span but responsive */
@media (max-width: 768px) and (min-width: 481px) {
    .tt-tour-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        width: 90%;
        /* Still wide on tablets */
        margin-left: 5%;
        /* Maintain alignment */
        margin-right: 5%;
    }

    .tt-tour-content {
        padding-left: 0.5%;
        /* Minimal padding for tablets */
    }

    .tour-title {
        font-size: 28px;
    }

    .tt-tour-sidebar {
        width: 100%;
        position: sticky; /* Keep sticky on tablets */
        order: -1;
        top: var(--spacing-lg);
    }
}

/* Simplified Mobile Layout - Proper Centering */
@media (max-width: 480px) {
    .tt-tour-container {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 98%;
        max-width: 100%;
        margin: 0 auto;
        padding: var(--spacing-sm);
    }

    .tt-tour-content {
        padding-left: 0;
        text-align: center;
    }

    .tour-title {
        font-size: 24px;
        text-align: center;
    }

    .tt-tour-sidebar {
        width: 100%;
        position: sticky; /* Keep sticky on mobile */
        order: -1;
        top: var(--spacing-sm);
    }
}

/* Large Desktop - Simplified Centering */
@media (min-width: 1400px) {
    .tt-tour-container {
        width: 85%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 30px;
    }

    .tt-tour-content {
        padding-left: 0;
        text-align: left;
    }
}



/* R
ESPONSIVE META WRAPPER - 2 ROWS ON SMALL SCREENS */

/* Medium screens - ensure content is not centered */
@media (max-width: 900px) {
    .tour-meta-wrapper {
        gap: var(--spacing-xs);
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 12px;
        flex-basis: auto;
        max-width: 48%;
    }
}

/* Small screens - ensure content is not centered */
@media (max-width: 768px) {
    .tour-meta-wrapper {
        gap: var(--spacing-xs);
        align-items: flex-start; /* Remove centering */
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 11px;
        flex-basis: calc(50% - var(--spacing-xs));
        max-width: calc(50% - var(--spacing-xs));
        margin-bottom: var(--spacing-xs);
        text-align: left; /* Remove centering */
    }
}

/* Very small screens - ensure vertical stack is not centered */
@media (max-width: 480px) {
    .tour-meta-wrapper {
        flex-direction: column;
        align-items: flex-start; /* Remove centering */
        gap: var(--spacing-xs);
        text-align: left; /* Remove centering */
    }

    .travel-flexibly,
    .tour-rating,
    .tour-meta-item,
    .tour-category-badge {
        font-size: 12px;
        flex-basis: auto;
        max-width: 100%;
        margin-bottom: 0;
        justify-content: flex-start; /* Remove centering */
        text-align: left; /* Remove centering */
    }
}

/* F
ORCE GREEN COLORS FOR ALL SUBTITLE AND DESCRIPTION ELEMENTS */

/* Tour subtitle/description - force green */
.single-tour .tt-tour-excerpt,
.single-tour .tour-excerpt,
.single-tour .tour-description,
.single-tour .tour-subtitle {
    color: var(--theme-palette-color-9) !important;
}

/* Tour location icon - force green */
.single-tour .tour-location i {
    color: var(--theme-palette-color-9) !important;
}

/* Category badges - force green by default */
.single-tour .tour-category-badge {
    color: var(--theme-palette-color-9) !important;
}

/* Any red text that should be green */
.single-tour [style*="color: red"],
.single-tour [style*="color: var(--tt-green-500)"],
.single-tour .text-red {
    color: var(--theme-palette-color-9) !important;
}

/* FORC
E ALL RED ICONS TO GREEN - HIGHEST PRIORITY */

/* Route map location icons - force green */
.single-tour .tt-destination-title i,
.single-tour .tt-route-map i,
.single-tour .route-map i {
    color: var(--theme-palette-color-9) !important;
    border-color: var(--theme-palette-color-9) !important;
    border: none !important;
}

/* Tour location icon in header - force green */
.single-tour .tour-location i,
.single-tour .tt-tour-location i {
    color: var(--theme-palette-color-9) !important;
}

/* Tour category meta icon - force green */
.single-tour .tour-category-badge i,
.single-tour .tour-meta-item i {
    color: var(--theme-palette-color-9) !important;
}

/* Any map marker or location icons - force green */
.single-tour .fa-map-marker,
.single-tour .fa-map-marker-alt,
.single-tour .fa-location-dot,
.single-tour i[class*="map"],
.single-tour i[class*="location"] {
    color: var(--theme-palette-color-9) !important;
}

/* Override any inline styles or other CSS that makes icons red */
.single-tour i[style*="color: red"],
.single-tour i[style*="color: var(--tt-green-500)"],
.single-tour i[style*="color: var(--tt-pink-500)"] {
    color: var(--theme-palette-color-9) !important;
}

/* Tour Info Section - Flat design, aligned, no padding */
.tt-tour-info-section {
    margin: 20px 0;
    padding: 0; /* Remove padding */
    background: transparent; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-info-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0; /* Remove padding */
    font-size: 22px;
    font-weight: 600;
}

.tt-tour-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0; /* Remove padding */
    margin: 0;
}

.tt-tour-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0; /* Remove padding to make flat */
    background: transparent; /* Make flat */
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Tour Description Section - Remove active background, flat design */
.tt-tour-section {
    margin: 20px 0;
    padding: 0;
    background: transparent !important; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0;
}

.tt-tour-description {
    padding: 0;
    background: transparent;
    border: none;
}

/* Tour Overview Section - Flat design */
.tt-tour-overview-section {
    margin: 20px 0;
    padding: 0;
    background: transparent !important; /* Make flat */
    border: none;
    box-shadow: none;
}

.tt-tour-overview-section h2 {
    color: #222; /* Darker heading */
    margin: 0 0 15px 0;
    padding: 0;
}

.tt-tour-overview-content {
    padding: 0;
    background: transparent;
    border: none;
}
