html{
    text-rendering: geometricPrecision;
}
/* Results Card Styling */
.result-card {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Needed for full-card clickable area */
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0px 10px rgba(0,0,0,0.1);
}

.result-card__top {
    display: flex;
    flex-direction: row;
}

.result-card__image-wrapper {
    width: 35%;
    position: relative;
}

.result-card__image {
    display: block;
    width: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.result-card__flags {
position: absolute;
    top: -10px;
    left: 0;
    display: flex;
    align-items: center;
    right: 0;
    justify-content: center;
}

.flag {
    padding: 6px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-country { background-color: #5d8aa8; /* Muted Blue */ }
.flag-type { background-color: #888; /* Grey */ }

.result-card__content {
    width: 65%;
    padding: 20px 25px;
}

.result-card__title {
    margin: 0 0 5px;
    font-size: 22px;
    line-height: 1.2;
}

.result-card__title a {
    color: #1aaeb7; /* Teal */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
}

/* Expands the title link to cover the whole card */
.result-card__title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.result-card__subtitle {
    font-size: 15px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.result-card__intro {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Footer Styling */
.result-card__footer {
    background-color: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    padding: 10px;
    display: flex;
    align-items: center;
}

.footer-col {
    display: flex;
    align-items: center;
}

.footer-col-left {
    flex: 3; 
    padding-right: 20px;
    border-right: 1px solid #e5e5e5;
    margin-right: 20px;
}

.footer-col-right {
    flex: 3;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.bookings-icon, .activity-icon, .grade-icon {
    margin-right: 15px;
    width: 20px;
}

.bookings-icon { font-size: 24px; }
.grade-icon { margin-right: 0; color: #f0ad4e; font-size: 28px; }

.button-and-grade {
    display: flex;
    align-items: center;
    gap: 15px;
}

.grade-section img {
    width: 40px;
    height: auto;
    max-width: 100%;
}

.departures-info h5, .activity-details h5 {
    margin: 0 0 3px;
    font-size: 16px;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.month-list {
    color: #ccc;
    font-size: 13px;
    font-family: inherit;
}

.month-list span { margin-right: 4px; }
.month-list span.active { color: #1aaeb7; font-weight: 700; }

.activity-section { display: flex; align-items: center; }

.activity-details span {
    display: block;
    font-size: 13px;
    color: #555;
    text-transform: capitalize;
}

.view-btn {
    background-color: #e65191; /* Pink */
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    position: relative; /* Keep button interaction independent */
    z-index: 2;
}

.view-btn:hover {
    background-color: #d03d7b;
    color: #fff;
    text-decoration: none;
}

.facet li a {
    font-size: 14px;
    color: #555;
}

.facet { 
    padding: 15px 0px;
}

@media (max-width: 991px) {
    .result-card__top { flex-direction: column; }
    .result-card__image-wrapper { width: 100%; min-height: 200px; }
    .result-card__content { width: 100%; }
    .result-card__footer { flex-wrap: wrap; }
    .footer-col-left { border-right: none; margin-right: 0; padding-right: 0; padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 15px; width: 100%; flex: 0 0 100%; }
    .footer-col-right { width: 100%; flex: 0 0 100%; }

    .facets__body{
        padding: 20px;
    }

    .facet {
        width: 100%;
    }

    .facet li a {
        color: #999
    }

    .refine-header {
        padding: 20px;
    }

    .mobile-search-btn {
        padding: 10px 40px;
    }

    .start-filter{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .end-filter{
        margin-top: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}


.facet__form input[type="text"] {
    width: 100%;
}

.facet__form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Testimonial Styling */
.testimonials-grid {
    column-count: 2;
    column-gap: 30px;
    orphans: 1;
    widows: 1;
}

.testimonial-item {
    display: inline-block; /* Keeps element intact across columns */
    width: 100%;
    margin-bottom: 30px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    break-inside: avoid-column;
}

.testimonial-card {
    background-color: #f7f7f7;
    padding: 30px;
    text-align: center;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
    }
}

.testimonial-quote-icon {
    font-size: 60px;
    line-height: 1;
    color: #1aaeb7;
    margin-bottom: 10px;
    font-family: serif;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    color: #999;
}

.btn-testimonial-outline {
    background-color: transparent;
    border: 2px solid #e65191;
    color: #e65191;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 40px;
}

.btn-testimonial-outline:hover, .btn-testimonial-outline:focus {
    background-color: #e65191;
    color: #fff;
    text-decoration: none;
}

.hero__bar {
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
}

/* Extension Cards Styling */
.extension-card {
    display: flex;
    background-color: #f7f7f7;
    margin-bottom: 20px; /* Reduced from 30px */
    min-height: 250px;
}

.extension-card__image {
    width: 40%;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 250px;
}

.extension-label {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: #5d8aa8; /* Muted Blue */
    color: #fff;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.extension-card__content {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
}

.extension-card__title {
    color: #1aaeb7; /* Teal */
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.extension-card__description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.extension-buttons-container {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-extension-action {
    font-size: 15px;
    padding: 8px 15px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0; /* Override default bootstrap button margins if present */
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific overrides for secondary button if needed to match design EXACTLY */
.btn-secondary.btn-extension-action {
    background-color: #5d8aa8; /* Muted Blue or matching theme secondary */
    color: #fff;
    border: none;
}
.btn-secondary.btn-extension-action:hover {
    background-color: #4a728e;
}

/* Specific overrides for outline button in this context */
.btn-testimonial-outline.btn-extension-action {
    margin: 0; /* Reset margins used in testimonial section */
}

@media (max-width: 768px) {
    .extension-card {
        flex-direction: column;
    }
    .extension-card__image, .extension-card__content {
        width: 100%;
    }
    .extension-card__image {
        height: 200px;
        min-height: 200px;
    }
}

.item-hr.alt-hr{
    height: 5px!important;
}

.itinerary { 
    border-bottom: none;
}

.top-holiday-nav{
    background: #00A4B5;
}

.sub-menu li.active:before{
    display: none
}

/* Mosaic Gallery Grid Styles */
.mosaic-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    margin-bottom: 30px;
}

.mosaic-gallery__item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mosaic-gallery__item a {
    display: block;
    width: 100%;
    height: 100%;
}

.mosaic-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    border: 4px solid white;
}

.mosaic-gallery__item:hover img {
    transform: scale(1.05);
}

/* Specific Grid Positioning */
/* Left Column */
.mosaic-gallery__item:nth-child(1) { grid-column: 1; grid-row: 1; }
.mosaic-gallery__item:nth-child(2) { grid-column: 1; grid-row: 2; }

/* Center Large Column */
.mosaic-gallery__item:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }

/* Right Column */
.mosaic-gallery__item:nth-child(4) { grid-column: 3; grid-row: 1; }
.mosaic-gallery__item:nth-child(5) { grid-column: 3; grid-row: 2; }

/* See All Button Overlay */
.gallery-see-all-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: 100%;
    background-color: rgba(0, 164, 181, 0.9); /* Teal with transparency */
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.gallery-see-all-btn:hover {
    background-color: #00A4B5; /* Solid Teal */
    text-decoration: none;
    color: #fff;
}

.gallery-see-all-icon {
    font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mosaic-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-auto-rows: 200px;
    }

    /* Large image full width on top */
    .mosaic-gallery__item:nth-child(3) { 
        grid-column: 1 / -1; 
        grid-row: 1; 
        height: 250px;
    }
    
    .mosaic-gallery__item:nth-child(1) { grid-column: 1; grid-row: 2; }
    .mosaic-gallery__item:nth-child(2) { grid-column: 2; grid-row: 2; }
    .mosaic-gallery__item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .mosaic-gallery__item:nth-child(5) { grid-column: 2; grid-row: 3; }
}

.slick-large-arrow {
    backdrop-filter: blur(5px);
}

@media (min-width: 1200px) {
    .holiday-hero .hero__title-container {
    width: 100%;
    right: 0;
    }

    .holiday-hero .hero__title::before{
        display: none;
    }

    .holiday-hero .hero__title::after {
        display: none;
    }

    .holiday-hero .title-details {
        text-align: left;
    }
    .holiday-hero .hero__title{
    text-align: left;
 }
}

.grade-info-button {
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vw;
    font-size: 23px;
    color: #00A4B5;
}

.grade-info-button:hover { 
     color: #057683; 
}

.hero__title {
    text-shadow: 0px 0px 10px rgba(68, 68, 68, 1);
}

/* Dates & Prices Accordion Styling */
.dates-year-heading h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 40px 0 15px;
    padding-left: 0;
}

.accordion--dates {
    list-style: none;
    padding: 0;
}

/* The row container */
.accordion--dates .panel {
    background-color: #dcf3f5; /* Light teal background */
    border: none;
    box-shadow: none;
    margin-bottom: 10px;
    border-radius: 0;
}

.accordion--dates .panel-heading {
    padding: 20px;
}

/* Date Info Text */
.accordion--dates__span {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}

.accordion--dates__span i {
    font-style: normal;
    font-weight: 500;
    color: #666;
}

.accordion--dates__span.bold {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

/* Availability Status */
.accordion--dates__span.text-primary {
    color: #28a745 !important;
    font-weight: 700;
    text-transform: uppercase;
}
.accordion--dates__span.text-secondary {
    color: #b91717 !important;
    font-weight: 700;
    text-transform: uppercase;
    
} .accordion--dates__span.text-orange { 
    color: #ff9900 !important; 
    font-weight: 700; 
    text-transform: uppercase; 
}
/* View Prices Button */
.price-btn .btn-secondary-ghost {
    background-color: #fff;
    border: 2px solid #1aaeb7;
    color: #1aaeb7;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 160px;
    transition: all 0.3s ease;
}

.price-btn .btn-secondary-ghost:hover,
.price-btn .btn-secondary-ghost[aria-expanded="true"] {
    background-color: #1aaeb7;
    color: #fff;
    text-decoration: none;
}

.price-btn .btn-secondary-ghost .fa {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Rotate Chevron on Expand */
.price-btn .btn-secondary-ghost[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.hero__label-container {
    display: none;
}

/* Expanded Content Area */
.accordion--dates .panel-body {
    background-color: #fff;
    padding: 0px;
    margin: 0;
    border-top: 1px solid #fff;
}

/* Mobile Adjustments for Dates Row */
@media (max-width: 768px) {
    .accordion--dates .text-right {
        text-align: left;
        margin-top: 15px;
    }
    
    .price-btn .btn-secondary-ghost {
        width: 100%;
        justify-content: center;
    }
}

.price-col-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-btn .btn{
    text-align: center;
    justify-content: center;
}

.accordion__default .accordion-body{
    padding: 0;
}

.holiday-tabs{
    display: flex;
    gap: 10px;
    padding: 5px;
}

.holiday-tabs li.active{
    background: rgba(1,1,1, .1);
    border-radius: 100vw;
}

.holiday-tabs li{
    border-radius: 100vw;
}

.hero__bar-info {
    display: flex;
    color: #444;
    align-items: center;
}

span.main-label {
    color: #949495 !important;
    font-family: "DINCondensed-Bold" !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

.text-primary{
    color: #00A4B5 !important;
}
.text-primary h1.sppb-addon-title {
    color: #00A4B5 !important;
}
.text-primary h2.sppb-addon-title {
    color: #00A4B5 !important;
}
.text-primary h3.sppb-addon-title {
    color: #00A4B5 !important;
}
.text-primary h4.sppb-addon-title {
    color: #00A4B5 !important;
}
.text-primary h5.sppb-addon-title {
    color: #00A4B5 !important;
}
.text-primary h6.sppb-addon-title {
    color: #00A4B5 !important;
}

.text-secondary {
    color: #EE4C9B !important;
}
.text-secondary h1.sppb-addon-title {
    color: #EE4C9B !important;
}
.text-secondary h2.sppb-addon-title {
    color: #EE4C9B !important;
}
.text-secondary h3.sppb-addon-title {
    color: #EE4C9B !important;
}
.text-secondary h4.sppb-addon-title {
    color: #EE4C9B !important;
}
.text-secondary h5.sppb-addon-title {
    color: #EE4C9B !important;
}
.text-secondary h6.sppb-addon-title {
    color: #EE4C9B !important;
}

.payment-explained-module {
    background: #f5f5f5;
    padding: 40px 20px;
}

 .hero__bar-mobile{
    display: flex;
    align-items: center;
    justify-content: center;
 }

.facet__form input[type="text"] {
   border: 1px solid #4444;
   background: unset; 
   color: #333;
   /* set placeholder color */
       &::placeholder {
         color: #999;
    }
}

.sppb-toggle-direction i {
    color: #EE4C9B;
}