﻿html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 5px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.row-bg-white {
    background: #FFFFFF;
}
.row-bg-mediumblue {
    background: #90E0EF;
}
.row-bg-lightblue {
    background: #CAF0F8;
}
    .row-bg-mediumblue .card, .row-bg-lightblue .card {
        background: rgba(255,255,255,.92);
    }

.text-justify {
    text-align: justify;
    text-justify: inter-word; 
    hyphens: auto; 
    overflow-wrap: break-word;
}
.footer .footer-block {
    padding-top: .25rem;
}

.footer .footer-title {
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .2px;
    opacity: .95;
}

.footer .footer-text,
.footer .footer-text p {
    margin-bottom: .35rem;
    
}

.footer .footer-link {
    color: rgba(255,255,255,.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.25);
    padding-bottom: 1px;
    transition: border-color .15s ease, opacity .15s ease;
}

    .footer .footer-link:hover {
        opacity: 1;
        border-bottom-color: rgba(255,255,255,.55);
    }

/* Social buttons */
.footer .footer-social {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.footer .social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

    .footer .social-btn i {
        font-size: 1.05rem;
        line-height: 1;
    }

    .footer .social-btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.18);
        border-color: rgba(255,255,255,.28);
    }

    .footer .social-btn:focus-visible {
        outline: 3px solid rgba(255,255,255,.35);
        outline-offset: 2px;
    }


.topbar .nav-link,
.topbar .nav-item {
    padding-top: .15rem !important;
    padding-bottom: .15rem !important;
    line-height: 1.1;
}

.topbar .btn.btn-sm {
    padding-top: .15rem;
    padding-bottom: .15rem;
    padding-left: .5rem;
    padding-right: .5rem;
    line-height: 1.1;
}

.topbar i {
    line-height: 1; 
}

.mainbar {
    --bs-navbar-padding-y: .25rem; /* default .5rem  */
   /* background: #023E8A;*/
    background: linear-gradient( 180deg, 0%, #022B63 100% );
}

    .mainbar .nav-link {
        padding-top: .35rem; /* nav-link  */
        padding-bottom: .35rem;
        line-height: 1.1;
    }

   
    .mainbar .navbar-brand img {
        height: 32px !important; 
    }
.font-roboto {
    font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.font-arsenal {
    font-family: 'Arsenal', 'Roboto', system-ui, sans-serif;
}
.nav-hero-left {
    /*background: #023E8A;*/
    background: #02387d;
    ;
    padding: 2rem;
    overflow: hidden;
}

.nav-hero-title {
    margin: 0 0 .75rem 0;
    line-height: 1.05;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.2vw + .6rem, 3rem);
}

.nav-hero-sub {
    margin: 0;
    line-height: 1.15;
    font-weight: 600;
    opacity: .95;
    font-size: clamp(1.05rem, 1.2vw + .5rem, 2rem);
}

.nav-country {
    color: #EAF2FF;
}

    .nav-country:hover,
    .nav-country.active {
        color: #FFD166; 
    }

@media (min-width: 992px) {
    .sticky-lg-top {
        top: 110px;
        z-index: 1;
    }
}

cookie-banner {
    z-index: 1055;
}

@media (max-width: 768px) {

    .cookie-banner {
        padding-left: 64px !important; 
    }

    
    .cookie-actions {
        width: 100%;
    }

        .cookie-actions button {
            flex: 1 1 0;
            white-space: nowrap;
        }
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 12px;
    }
}

#cookieSettings {
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    font-size: 18px;
}

.gear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    color: #6b6b6b;
    background-color: #f5f5f5;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 1060;
    width: 48px;
    height: 48px;
}

    .gear-btn:hover {
        transform: rotate(20deg) scale(1.1);
        background-color: #e0e0e0;
        color: #333;
    }

    .gear-btn:active {
        transform: rotate(-10deg) scale(0.95);
    }

.bg-green {
    background-color: #6BCB77 !important;
}

.bg-orange {
    background-color: #FF9B2F !important;
}

.bg-blue {
    background-color: #4D96FF !important;
}



/* 二级菜单定位 */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

/* hover 显示（桌面端） */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

.tour-card {
    border-radius: 1.1rem;
    overflow: hidden;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

    .tour-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .10) !important;
    }

.tour-card__image-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f6;
}

.tour-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.tour-card:hover .tour-card__image {
    transform: scale(1.04);
}

.tour-card__badge {
    position: absolute;
    top: .9rem;
    left: .9rem;
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 .25rem .6rem rgba(13, 71, 161, .28);
}

.tour-card__body {
    padding: 1rem 1rem .95rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}


.tour-card__title-link {
    text-decoration: none;
}

.tour-card__title {
    margin: 0 0 .2rem 0;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card__meta {
    color: #6c757d;
    font-size: .92rem;
    line-height: 1.35;
    min-height: 1.35rem;
    margin-top: -.05rem;
}

.tour-card__bottom {
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem;
}

.tour-card__price-wrap {
    min-width: 0;
}

.tour-card__from {
    font-size: .78rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.1;
    margin-bottom: .1rem;
}

.tour-card__old-price {
    font-size: .95rem;
    color: #8a8f98;
    line-height: 1.1;
    margin-bottom: .1rem;
}

.tour-card__price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #1f2d3d;
}

.tour-card__btn {
    border-radius: 999px;
    padding: .45rem .95rem;
    white-space: nowrap;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .tour-card__title {
        font-size: 1.02rem;
    }

    .tour-card__price {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .tour-card__body {
        padding: .9rem .9rem .85rem;
    }

    .tour-card__bottom {
        gap: .5rem;
    }

    .tour-card__btn {
        padding: .4rem .85rem;
    }
}

.page-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

        .whatsapp-float img {
            width: 30px;
            height: 30px;
        }
}



