.getyourguide-hero {
    min-height: 440px;
    height: auto;
    position: relative;
    padding-bottom: 8px;
    overflow: hidden;
}

.getyourguide-hero .banner-video-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 440px;
    overflow: hidden;
}

.getyourguide-hero .banner-video-area .hero-images-container {
    width: 100%;
    height: 100%;
    min-height: 440px;
    position: relative;
}

.getyourguide-hero .banner-video-area img.hero-background-image {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.getyourguide-hero .banner-video-area picture {
    width: 100%;
    height: 100%;
    display: block;
}

.getyourguide-hero .banner-video-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.getyourguide-hero .banner-content-wrap {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
    padding: 40px 0 12px;
}

.getyourguide-hero-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    overflow-x: visible;
    overflow-y: visible;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

/* Ensure carousel section breaks out of parent padding and touches edges */
.getyourguide-hero-content .tour-cards-carousel-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    overflow: visible;
    left: 0;
    right: 0;
}

/* Prevent horizontal scroll on page but allow carousel to scroll */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

.getyourguide-hero {
    overflow: hidden;
    width: 100%;
}

.getyourguide-hero .banner-content-wrap {
    overflow: hidden;
    width: 100%;
}

.hero-search-wrapper {
    overflow: visible;
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

.hero-search-form {
    overflow: visible;
    position: relative;
    z-index: 10;
}

.hero-search-input-group {
    overflow: visible;
    position: relative;
    z-index: 10;
}

.getyourguide-hero-content {
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
}

.getyourguide-hero-content .tour-cards-carousel-section {
    overflow-x: visible;
}

.tour-cards-carousel-wrapper {
    overflow-x: visible;
}

@media (max-width: 991px) {
    .getyourguide-hero-content .tour-cards-carousel-section {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
    }

    .tour-card-item {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
    }
}

.getyourguide-hero-content>*:not(.tour-cards-carousel-section) {
    max-width: 900px;
    width: 100%;
}

.getyourguide-hero-content .hero-main-title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 16px;
    margin-top: 0;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .getyourguide-hero-content .hero-main-title {
        font-size: 1.75rem;
        white-space: nowrap;
    }
}

@media (max-width: 992px) {
    .getyourguide-hero-content .hero-main-title {
        font-size: 1.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .getyourguide-hero-content .hero-main-title {
        font-size: 1.5rem;
        line-height: 1.75rem;
        margin-bottom: 12px;
        margin-top: 40px;
        white-space: normal;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .getyourguide-hero-content .hero-main-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
        margin-bottom: 12px;
        margin-top: 40px;
        white-space: normal;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .getyourguide-hero-content .hero-main-title {
        font-size: 1.1rem;
        line-height: 1.4rem;
        margin-top: 40px;
        white-space: normal;
        padding: 0 10px;
    }
}

.hero-search-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.hero-search-form {
    position: relative;
    overflow: visible;
    z-index: 10;
}

.hero-search-form {
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-search-input-group {
    display: flex;
    background: #ffffff;
    border-radius: 50px;
    padding: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 14px;
    color: #1a2b49;
    background: transparent;
    border-radius: 50px;
    line-height: 1.375rem;
    font-weight: 400;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-btn {
    background: #1781FE;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.375rem;
}

/* Mobile Search Input Styles */
@media (max-width: 767px) {
    .hero-search-wrapper {
        margin-bottom: 24px;
        padding: 0 15px;
    }

    .hero-search-input-group {
        max-width: 100%;
        padding: 2px;
        border-radius: 40px;
    }

    .hero-search-input {
        padding: 10px 16px;
        font-size: 14px;
        padding-right: 10px;
    }

    .hero-search-input::placeholder {
        font-size: 13px;
    }

    .hero-search-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-search-wrapper {
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .hero-search-input-group {
        padding: 2px;
        border-radius: 35px;
    }

    .hero-search-input {
        padding: 9px 14px;
        font-size: 13px;
    }

    .hero-search-input::placeholder {
        font-size: 12px;
    }

    .hero-search-btn {
        padding: 9px 20px;
        font-size: 12px;
    }
}

.hero-search-btn:hover {
    background: #0d6efd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 129, 254, 0.4);
}

.hero-search-btn:active {
    transform: translateY(0);
}

/* AI hero search button positioning */
.hero-ai-btn {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

/* On small screens, lift the AI button slightly off the top edge */
@media (max-width: 576px) {
    .hero-ai-btn {
        /* Attach slightly above the top corner on mobile */
        top: -3.4px !important;
        left: -1px !important;
        transform: none !important;
    }
}

/* Search Dropdown - Bootstrap Dropdown */
.hero-search-input-group.dropdown {
    position: relative;
    z-index: 1050;
}

.hero-search-dropdown.dropdown-menu {
    width: calc(100% - 32px);
    max-width: 500px;
    max-height: 400px;
    background-color: #ffffff;
    color: #1a2b49;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0;
    z-index: 1051;
    position: absolute;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 8px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.hero-search-dropdown.dropdown-menu[data-bs-popper] {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 8px !important;
}

.hero-search-dropdown.dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f1f1f1;
}

.hero-search-dropdown.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.hero-search-dropdown.dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
    margin: 0;
}

.hero-search-dropdown.dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
    border: none;
}

.hero-search-dropdown.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.hero-search-dropdown.dropdown-menu::-webkit-scrollbar-corner {
    background: transparent;
}

.hero-search-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    transition: background-color 0.15s ease;
    gap: 12px;
}

.search-dropdown-item:hover {
    background-color: #f5f5f5;
}

.search-dropdown-item.use-location {
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
}

.search-dropdown-item.use-location:hover {
    background-color: #f5f5f5;
}

.dropdown-header {
    font-size: 12px;
    font-weight: 600;
    color: #63687a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    margin: 0;
}

.search-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebeef1;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-item-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.search-item-text {
    font-size: 14px;
    color: #1a2b49;
    font-weight: 400;
    line-height: 1.375rem;
}

.search-dropdown-section {
    padding: 0;
    list-style: none;
}

.search-suggestion-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    transition: background-color 0.15s ease;
    gap: 0;
    list-style: none;
}

.search-suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-thumbnail {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #ebeef1;
    margin-right: 12px;
}

.suggestion-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 2px;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b49;
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.375rem;
    text-align: left;
}

.suggestion-subtitle {
    font-size: 12px;
    color: #63687a;
    line-height: 1.375rem;
    margin: 0;
    padding: 0;
    text-align: left;
}

@media (max-width: 576px) {
    .hero-search-input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 0;
        gap: 8px;
    }

    .hero-search-input {
        border-radius: 12px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-search-btn {
        border-radius: 12px;
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .hero-search-dropdown {
        max-width: 100%;
        left: 0;
        transform: none;
    }
}

.getyourguide-hero-content .hero-subtitle {
    color: #ffffff;
    font-family: var(--font-roboto, 'Roboto', sans-serif);
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 25px 0 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .getyourguide-hero-content .hero-subtitle {
        font-size: 16px;
        margin: 5px 0 25px 0 !important;
    }
}

@media (max-width: 767px) {
    .getyourguide-hero-content .hero-subtitle {
        margin: 5px 0 25px 0 !important;
    }
}

/* Tour Cards Carousel Section - Inside Hero (Bootstrap-based) */
.getyourguide-hero .tour-cards-carousel-section {
    padding: 0;
    background: transparent;
    margin-top: 10px;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
}

/* Mobile: equal space above and below hero cards */
@media (max-width: 767px) {
    .getyourguide-hero .tour-cards-carousel-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .getyourguide-hero .tour-cards-carousel-section {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}

.getyourguide-hero .tour-cards-carousel-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible;
}

.getyourguide-hero .tour-cards-carousel-wrapper {
    position: relative;
    padding: 0 !important;
    width: 100%;
    overflow: visible;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tour-cards-scroll-container {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    position: relative;
}

.tour-cards-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.tour-card-item {
    padding: 0 12px;
    flex-shrink: 0;
    margin-right: 0;
    white-space: normal;
    width: 280px; /* Base width for smaller screens */
    min-width: 280px; /* Ensure cards don't collapse */
}

.tour-card-item:first-child {
    margin-left: 0;
    padding-left: 0;
}

.tour-card-item:last-child {
    margin-right: 0;
}

@media (min-width: 992px) {

    /* Show 3.5 items - 3 full + partial 4th, first touches left edge */
    /* Calculate: (100vw - 3 gaps of 16px) / 3.5 = width per item */
    /* We have 3 gaps between 4 items, so: (100vw - 48px) / 3.5 per item */
    .tour-card-item {
        width: calc((100vw - 48px) / 3.5);
        min-width: calc((100vw - 48px) / 3.5);
        max-width: calc((100vw - 48px) / 3.5);
    }

    .tour-card {
        height: 200px;
        min-height: 200px;
    }

    .tour-card-image {
        width: 110px;
        height: 110px;
    }

    /* Spacing is handled by padding: 0 12px on each item */
    .tour-card-item:first-child {
        padding-left: 0 !important;
    }

    .tour-card-item:last-child {
        padding-right: 0 !important;
    }

    .tour-card {
        width: 100%;
        min-width: 0;
        max-width: 400px;
        min-height: 200px;
        height: auto;
    }

    /* Ensure first item touches left edge - no padding/margin */
    .tour-cards-scroll-container {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* Ensure container starts at left edge */
    .tour-cards-carousel-container {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .tour-cards-carousel-wrapper {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 992px) {

    #hero-tour-cards-content.hero-carousel-force-scroll .tour-cards-carousel-container,
    #hero-tour-cards-content.hero-carousel-force-scroll .tour-cards-carousel-wrapper,
    #hero-tour-cards-content.hero-carousel-force-scroll .tour-cards-scroll-container {
        max-width: 900px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #hero-tour-cards-content.hero-carousel-force-scroll .tour-cards-scroll-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #hero-tour-cards-content.hero-carousel-force-scroll .tour-card-item {
        width: clamp(320px, 30vw, 360px);
        min-width: clamp(320px, 30vw, 360px);
        max-width: clamp(320px, 30vw, 360px);
    }
}


.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.tour-card-link {
    margin: 0 !important;
    padding: 0 !important;
}

.tour-card,
.tour-card.hero-card,
article.tour-card,
article.hero-card {
    background-color: #ffffff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 16px !important;
    display: flex;
    flex-direction: row;
    height: fit-content;
    min-height: auto;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0 !important;
    align-items: flex-start;
}

.tour-card:hover {
    border-color: #a0a8b6;
    transform: translateY(-2px);
}

.tour-card-container {
    display: flex;
    flex-direction: row;
    height: auto;
    width: 100%;
    gap: 0;
    align-items: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
}

.tour-card-image-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
}

.tour-card-image {
    width: 110px !important;
    height: 110px !important;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.tour-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px;
}

.tour-card-content {
    flex: 1;
    padding: 0;
    padding-left: 12px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    overflow: visible;
    align-items: flex-start;
    height: auto;
}

.tour-card-title-wrapper {
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.tour-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2b49;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    text-align: left;
    text-indent: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-attributes {
    margin-bottom: 0;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tour-card-attribute {
    font-size: 14px;
    color: #63687a;
    line-height: 1.2;
    display: block;
}

.tour-card-pickup {
    font-weight: 500;
}

.tour-card-details {
    font-size: 13px;
    color: #8b8f9e;
}

.tour-card-rating-wrapper {
    margin-bottom: 8px;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tour-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.tour-star {
    display: inline-flex;
    align-items: center;
}

.tour-stars i {
    font-size: 14px;
    color: #dcdfe4;
}

.tour-stars .filled i,
.tour-star.filled i {
    color: rgb(200, 150, 62);
}

/* Ensure Bootstrap Icons are properly displayed */
.tour-stars .bi {
    display: inline-block;
    line-height: 1;
}

.tour-stars .bi-star-fill,
.tour-stars .bi-star-half {
    color: rgb(200, 150, 62) !important;
}

.tour-stars .bi-star {
    color: #dcdfe4 !important;
}

.tour-rating-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b49;
}

.tour-rating-count {
    font-size: 14px;
    color: #63687a;
}

/* Hide review count in hero cards - show only rating value */
.getyourguide-hero .tour-rating-count {
    display: none !important;
}

/* Mobile: Reduce rating text size to prevent overflow */
@media (max-width: 576px) {
    .tour-rating {
        gap: 3px;
    }
    
    .tour-stars {
        gap: 1px;
    }
    
    .tour-stars i {
        font-size: 12px;
    }
    
    .tour-rating-value {
        font-size: 11px;
    }
    
    .tour-rating-count {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tour-rating {
        gap: 2px;
    }
    
    .tour-stars {
        gap: 1px;
    }
    
    .tour-stars i {
        font-size: 11px;
    }
    
    .tour-rating-value {
        font-size: 10px;
    }
    
    .tour-rating-count {
        font-size: 9px;
    }
}

.location-and-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.tour-card-price-wrapper {
    margin-top: 4px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1;
    height: auto;
    min-height: 0;
}

/* Force remove any bottom spacing on price */
.tour-card-price-wrapper * {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.tour-price-prefix {
    font-size: 14px;
    color: #63687a;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block;
}

.tour-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b49;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block;
}

/* Navigation Buttons */
.tour-cards-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #1781FE;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
}

.tour-cards-nav-btn:hover {
    background: #1781FE;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(23, 129, 254, 0.3);
}

.tour-cards-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tour-cards-nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.tour-cards-nav-btn.tour-cards-next {
    right: 20px;
}

.tour-cards-nav-btn.tour-cards-prev {
    left: 20px;
}

@media (max-width: 991px) {
    .tour-cards-nav-btn {
        width: 36px;
        height: 36px;
    }

    .tour-cards-nav-btn svg {
        width: 14px;
        height: 14px;
    }

    .tour-cards-nav-btn.tour-cards-next {
        right: 10px;
    }

    .tour-cards-nav-btn.tour-cards-prev {
        left: 10px;
    }
}

@media (max-width: 991px) {
    .getyourguide-hero {
        min-height: 400px;
    }

    .getyourguide-hero .banner-video-area {
        min-height: 400px;
    }

    .getyourguide-hero .banner-content-wrap {
        min-height: 450px;
        padding: 30px 20px 14px;
    }
}

@media (max-width: 767px) {
    .getyourguide-hero {
        min-height: 340px;
        padding-bottom: 10px;
    }

    .getyourguide-hero .banner-video-area {
        min-height: 340px;
    }

    .getyourguide-hero .banner-video-area .hero-images-container {
        min-height: 340px;
    }

    .getyourguide-hero .banner-video-area img.hero-background-image {
        object-position: center top;
        min-height: 340px;
    }

    .getyourguide-hero .banner-content-wrap {
        min-height: 340px;
        padding: 20px 15px 16px;
    }

    .getyourguide-hero-content {
        padding: 0;
    }

    .getyourguide-hero-content .hero-search-wrapper {
        margin-bottom: 24px !important;
    }

    .getyourguide-hero-content .hero-subtitle {
        margin-bottom: 25px !important;
    }

    .getyourguide-hero .tour-cards-carousel-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile Card Styles - Keep horizontal layout */
    .tour-card-item {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        padding: 0 8px;
    }

    .tour-card-item:first-child {
        padding-left: 0 !important;
    }

    .tour-card {
        height: auto;
        min-height: auto;
        padding: 14px 12px 14px !important;
    }

    .tour-card-container {
        flex-direction: row;
        gap: 10px;
    }

    .tour-card-image-wrapper {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        /* Add a little more space above the image than below on mobile */
        padding: 6px 0 4px;
    }

    .tour-card-image {
        width: 100px;
        height: 100px;
    }

    .tour-card-content {
        flex: 1;
        min-width: 0;
        padding-left: 10px;
    }

    .tour-card-title {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 6px;
        padding: 0;
        text-align: left;
        text-indent: 0;
    }

    .tour-card-attributes {
        margin-top: 4px;
        gap: 2px;
    }

    .tour-card-attribute {
        font-size: 12px;
        line-height: 1.3;
    }

    /* Trim city name to one line on mobile in hero cards */
    .hero-card .tour-card-attribute.tour-card-location {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .tour-card-pickup {
        font-size: 12px;
    }

    .tour-card-details {
        font-size: 11px;
    }

    .tour-price {
        margin-top: 6px;
    }

    .tour-price-prefix {
        font-size: 11px;
    }

    .tour-price-amount {
        font-size: 16px;
    }

    .tour-cards-nav-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Tour Carousel Section Styles (Below Hero) */
    .home1-tour-carousel-section {
        padding: 60px 0 80px;
        background: #ffffff;
    }

    .tour-carousel-header {
        margin-bottom: 32px;
    }

    .tour-carousel-title {
        font-size: 32px;
        font-weight: 700;
        color: #1a2b49;
        margin: 0;
        line-height: 1.3;
        font-family: var(--font-poppins, 'Poppins', sans-serif);
        letter-spacing: -0.02em;
    }

    .tour-carousel-slider-area {
        position: relative;
    }

    .home1-tour-carousel-slider .swiper-slide {
        height: auto;
        display: flex;
    }

    .home1-tour-carousel-slider .swiper-slide .tour-carousel-card {
        width: 100%;
        min-width: 0;
    }

    .home1-tour-carousel-slider .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }

    .tour-carousel-card {
        background: #ffffff !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease;
        height: 100%;
        display: flex !important;
        flex-direction: column !important;
        border: 1px solid #e5e7eb !important;
        width: 100% !important;
        min-width: 0;
        position: relative;
    }

    .tour-carousel-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
        border-color: #d1d5db;
    }

    .tour-carousel-img {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 240px !important;
        overflow: hidden !important;
        background: #e5e7eb;
        flex-shrink: 0;
    }

    .tour-carousel-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.4s ease;
        display: block !important;
        position: relative;
        z-index: 1;
    }

    .tour-carousel-card:hover .tour-carousel-img img {
        transform: scale(1.05);
    }

    .tour-originals-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: #10b981;
        color: #ffffff;
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.3px;
        z-index: 3;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
    }

    .tour-originals-badge::before {
        content: 'G ';
        font-weight: 700;
        font-size: 12px;
    }

    .tour-carousel-img button.tour-heart-icon,
    .tour-carousel-img .tour-heart-icon {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        bottom: auto !important;
        width: 36px !important;
        height: 36px !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease;
        z-index: 10 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    .tour-carousel-img .tour-heart-icon:hover {
        background: #ffffff !important;
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    }

    .tour-carousel-img .tour-heart-icon svg {
        width: 20px !important;
        height: 20px !important;
        transition: all 0.2s ease;
        display: block !important;
    }

    .tour-carousel-img .tour-heart-icon svg path {
        stroke: #000000 !important;
        fill: none !important;
        stroke-width: 1.5 !important;
    }

    .tour-carousel-img .tour-heart-icon:hover svg path {
        stroke: #dc2626 !important;
        fill: #dc2626 !important;
    }

    .tour-status-badge-wrapper {
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .tour-status-badge {
        display: inline-block;
        background: #dc2626;
        color: #ffffff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .tour-carousel-content {
        padding: 16px !important;
        flex: 1;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
        min-height: 0;
        background: #ffffff !important;
    }

    .tour-category {
        font-size: 12px;
        color: #525252;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .tour-carousel-content h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        min-height: 44px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tour-carousel-content h4 a {
        color: #1a2b49;
        text-decoration: none;
        transition: color 0.2s ease;
        display: block;
    }

    .tour-carousel-content h4 a:hover {
        color: #1a2b49;
        text-decoration: underline;
    }

    .tour-details {
        margin: 0;
        font-size: 14px;
        color: #525252;
        line-height: 1.5;
    }

    .tour-rating-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 12px;
        gap: 12px;
    }

    .tour-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 14px;
        color: #1a2b49;
        font-weight: 500;
    }

    .tour-rating svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .tour-price {
        font-size: 16px;
        font-weight: 700;
        color: #1a2b49;
        text-align: right;
        white-space: nowrap;
    }

    .tour-price .price-old {
        text-decoration: line-through;
        color: #9ca3af;
        font-weight: 400;
        margin-right: 4px;
    }

    .home1-tour-carousel-section .slider-btn-grp {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -60px;
        display: flex;
        gap: 10px;
        z-index: 10;
    }

    .home1-tour-carousel-section .slider-btn {
        width: 44px;
        height: 44px;
        background: #1781FE;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(23, 129, 254, 0.2);
    }

    .home1-tour-carousel-section .slider-btn:hover {
        background: #0d6efd;
        box-shadow: 0 4px 8px rgba(23, 129, 254, 0.3);
    }

    .home1-tour-carousel-section .slider-btn svg {
        width: 14px;
        height: 14px;
    }

    .home1-tour-carousel-section .slider-btn svg path {
        stroke: #ffffff;
        stroke-width: 2;
        transition: stroke 0.2s ease;
    }

    @media (max-width: 1400px) {
        .home1-tour-carousel-section .slider-btn-grp {
            right: -50px;
        }
    }

    /* Desktop specific fixes - Ensure proper styling on large screens */
    @media (min-width: 769px) {
        .tour-carousel-img {
            position: relative !important;
        }

        .tour-carousel-img button.tour-heart-icon,
        .tour-carousel-img .tour-heart-icon {
            position: absolute !important;
            top: 12px !important;
            right: 12px !important;
            left: auto !important;
            bottom: auto !important;
            z-index: 10 !important;
        }

        .tour-carousel-img img {
            position: relative;
            z-index: 1;
        }

        .tour-carousel-card {
            border: 1px solid #e5e7eb !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
            background: #ffffff !important;
        }

        .tour-carousel-content {
            background: #ffffff !important;
        }
    }

    @media (max-width: 1200px) {
        .tour-carousel-slider-area {
            padding: 0;
        }

        .home1-tour-carousel-section .slider-btn-grp {
            right: 0;
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            transform: none;
            margin-top: 30px;
        }
    }

    @media (max-width: 768px) {
        .home1-tour-carousel-section {
            padding: 40px 0;
        }

        .tour-carousel-title {
            font-size: 22px;
        }

        .tour-carousel-header {
            margin-bottom: 24px;
        }

        .tour-carousel-img {
            height: 200px;
        }

        .tour-carousel-content {
            padding: 14px;
        }

        .tour-carousel-content h4 {
            font-size: 15px;
            min-height: 42px;
        }

        .tour-details {
            font-size: 13px;
        }

        .tour-rating-price {
            margin-top: 10px;
            padding-top: 10px;
        }

        .tour-price {
            font-size: 15px;
        }
    }

    @media (max-width: 576px) {
        .tour-carousel-title {
            font-size: 20px;
        }

        .tour-carousel-img {
            height: 180px;
        }

        .tour-carousel-content h4 {
            font-size: 14px;
            min-height: 40px;
        }
    }

    /* Unforgettable Tours Section (Static Grid) */
    .unforgettable-tours-section {
        padding: 20px 0 20px;
        background: #ffffff;
    }

    .unforgettable-tours-section .tour-carousel-card {
        height: 100%;
    }

    /* Limit title to 2 lines in all tour card sections */
    .home1-tour-carousel-section .blog-content-top h4,
    .home1-tour-carousel-section .blog-content-top h4 a,
    .unforgettable-tours-section .blog-content-top h4,
    .unforgettable-tours-section .blog-content-top h4 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }

    /* Ensure the h4 element itself has the constraints - more specific */
    .home1-tour-carousel-section .blog-card .blog-content-top h4,
    .home1-tour-carousel-section .blog-card .blog-content-top h4 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 3.2em !important;
    }

    .unforgettable-tours-section .blog-card .blog-content-top h4,
    .unforgettable-tours-section .blog-card .blog-content-top h4 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 3.2em !important;
    }

    @media (max-width: 992px) {
        .unforgettable-tours-section .col-lg-3 {
            margin-bottom: 24px;
        }
    }

    /* Top Attractions/Destinations Section */
    .top-attractions-section {
        padding: 40px 0 60px;
        background: #ffffff;
    }

    .top-attractions-nav {
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 32px;
        padding-bottom: 0;
        justify-content: center;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 60px;
    }

    .top-attractions-nav .nav-item:not(:last-child) {
        margin-right: 32px;
    }

    .top-attractions-nav .nav-link {
        background: none;
        border: none;
        border-bottom: none;
        padding: 16px 0;
        font-size: 16px;
        font-weight: 400;
        color: #9ca3af;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
    }

    .top-attractions-nav .nav-link:hover {
        color: #6b7280;
    }

    .top-attractions-nav .nav-link.active {
        color: #1a2b49;
        font-weight: 600;
        background: none;
        border-bottom: none;
    }

    .top-attractions-nav .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 3px;
        background-color: #1781FE;
        width: calc(100% + 8px);
        margin-left: -4px;
        margin-right: -4px;
    }

    .top-attractions-nav .nav-link:focus {
        outline: none;
        box-shadow: none;
    }

    .attractions-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        row-gap: 16px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 60px;
    }

    .attraction-item {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: #1a2b49;
        transition: color 0.2s ease;
        padding: 0;
    }

    .attraction-item:hover {
        color: #1781FE;
    }

    .attraction-name {
        font-size: 16px;
        font-weight: 400;
        color: #1a2b49;
        margin-bottom: 4px;
        line-height: 1.5;
        transition: color 0.2s ease;
    }

    .attraction-item:hover .attraction-name {
        color: #1781FE;
    }

    .attraction-count {
        font-size: 14px;
        color: #6b7280;
        font-weight: 400;
        line-height: 1.4;
    }

    @media (max-width: 1200px) {
        .attractions-grid {
            grid-template-columns: repeat(3, 1fr);
            padding: 0 40px;
        }

        .top-attractions-nav {
            padding: 0 40px;
        }

        .top-attractions-nav .nav-item:not(:last-child) {
            margin-right: 24px;
        }

        .top-attractions-nav .nav-link {
            font-size: 15px;
        }
    }

    @media (max-width: 992px) {
        .attractions-grid {
            grid-template-columns: repeat(2, 1fr);
            padding: 0 30px;
        }

        .top-attractions-nav {
            flex-wrap: nowrap;
            padding: 0 30px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            justify-content: flex-start;
        }

        .top-attractions-nav .nav-item:not(:last-child) {
            margin-right: 20px;
        }

        .top-attractions-nav .nav-link {
            font-size: 14px;
            padding: 12px 0;
        }
    }

    @media (max-width: 768px) {
        .top-attractions-section {
            padding: 30px 0 40px;
        }

        .attractions-grid {
            grid-template-columns: repeat(2, 1fr);
            row-gap: 12px;
            padding: 0 20px;
        }

        .attraction-name {
            font-size: 15px;
        }

        .attraction-count {
            font-size: 13px;
        }

        .top-attractions-nav {
            margin-bottom: 24px;
            padding: 0 20px;
        }
    }

    @media (max-width: 576px) {
        .attractions-grid {
            grid-template-columns: repeat(2, 1fr);
            row-gap: 10px;
            column-gap: 12px;
            padding: 0 16px;
        }

        /* Make tabs look cleaner on mobile: horizontal, scrollable, smaller text */
        .top-attractions-nav {
            flex-direction: row;
            border-bottom: 1px solid #e5e7eb;
            padding: 0 16px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            justify-content: flex-start;
            scrollbar-width: none;
        }

        .top-attractions-nav::-webkit-scrollbar {
            display: none;
        }

        .top-attractions-nav .nav-item {
            width: auto;
            margin-right: 16px;
            border-bottom: none;
        }

        .top-attractions-nav .nav-item:last-child {
            margin-right: 0;
        }

        .top-attractions-nav .nav-link {
            padding: 10px 0;
            text-align: center;
            font-size: 14px;
            border-bottom: none;
        }

        .top-attractions-nav .nav-link.active {
            border-left: none;
            padding-left: 0;
        }

        .top-attractions-nav .nav-link.active::after {
            display: block;
        }
    }

    @media (max-width: 360px) {
        .attractions-grid {
            grid-template-columns: 1fr;
        }
    }

    .tour-cards-nav-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .getyourguide-hero {
        min-height: 320px;
    }

    .getyourguide-hero .banner-video-area {
        min-height: 320px;
    }

    .getyourguide-hero .banner-video-area .hero-images-container {
        min-height: 320px;
    }

    .getyourguide-hero .banner-video-area img.hero-background-image {
        object-position: center top;
        min-height: 320px;
    }

    .getyourguide-hero .banner-content-wrap {
        min-height: 320px;
        padding: 15px 10px 12px;
    }

    .tour-card-item {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        padding: 0 6px;
    }

    .tour-card {
        padding: 10px !important;
    }

    .tour-card-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .tour-card-image {
        width: 90px;
        height: 90px;
    }

    .tour-card-content {
        padding-left: 8px;
    }

    .tour-card-title {
        font-size: 12px;
        line-height: 1.35;
    }

    .tour-card-attribute {
        font-size: 11px;
    }

    /* Trim city name to one line on mobile in hero cards */
    .hero-card .tour-card-attribute.tour-card-location {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .tour-card-pickup {
        font-size: 11px;
    }

    .tour-card-details {
        font-size: 10px;
    }

    .tour-price-amount {
        font-size: 15px;
    }
}

/* Let hero background height follow content instead of fixed min-heights */
.getyourguide-hero,
.getyourguide-hero .banner-video-area,
.getyourguide-hero .banner-video-area .hero-images-container,
.getyourguide-hero .banner-video-area img.hero-background-image,
.getyourguide-hero .banner-content-wrap {
    min-height: auto !important;
}