@media only screen and (max-width: 767px) {
h1 {
font-size: 30px !important;
line-height: 34px !important;
}

h2 {
font-size: 26px !important;
line-height: 32px !important;
}

h3 {
font-size: 20px !important;
}

h4 {
font-size: 18px !important;
}

h5 {
font-size: 16px !important;
}

h6 {
font-size: 14px !important;
}

body,
p {
line-height: 26px !important;
font-size: 16px !important;
}

.ehf-header #masthead {
position: relative;
}

.site-content {
padding-top: 0px;
}

.mb-top-menu {
border-bottom: 1px solid rgb(255, 255, 255, 0.5);
}

.mb-main-menu nav {
width: 320px !important;
top: 54px !important;
box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
padding: 10px 5px;
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
left: auto !important;
right: 0px;
}

.mb-main-menu nav a.menu-link.has-submenu {
justify-content: space-between !important;
}

.hfe-nav-menu li {
margin-right: 0px !important;
}

.hfe-nav-menu li a:before {
display: none !important;
}

.hfe-nav-menu li a.hfe-menu-item {
padding-left: 5px !important;
padding-right: 5px !important;
}

.uael-offcanvas {
width: 100% !important;
box-shadow: none !important;
}

.searchbar .gs-search-bar {
width: 100%;
}

#searchform .searchbox {
padding: .5rem 0.5rem .3rem 0;
font-size: 16px;
}

.form-search-icon {
width: 18px;
margin-top: 15px;
}

.gs-slider ul, 
.gs-slider ul li, 
.gs-slider .bdt-prime-slider {
max-height: 260px;
}

.gs-slider h1.bdt-title-tag {
font-size: 26px !important;
}

.gs-slider h1.bdt-title-tag span {
font-size: 16px;
font-family: roboto;
line-height: 22px;
}

.gs-slider ul li .bdt-slide-btn {
padding: 8px 40px 8px 15px !important;
font-size: 15px !important;
}

.sg-filter-search {
border-bottom: 1px solid #ededed;
}

.sg-filter-search .e-con-inner {
padding-top: 30px !important;
padding-bottom: 40px;
}

.filter-form {
margin-top: 8px;
}

.filter-form select {
padding: 10px 35px 10px 15px;
width: 100%;
margin: 0px 0px 7px 0px;
}

.filter-form button {
padding: 17px 20px 17px 20px;
width: 100%;
margin-top: 5px;
}

.sg-testimonial .e-con-inner,
.sg-home-bottom .e-con-inner {
padding-top: 20px !important;
padding-bottom: 20px !important;
}

.sg-testimonial .mySwiper.myBlog .blog-slider__content {
margin-left: 0px;
padding-right: 0px;
padding-top: 0px;
}

.sg-testimonial .mySwiper .crop-content {
-webkit-line-clamp: inherit;
}

.sg-testimonial .blog-slider__text p,
.sg-testimonial .blog-slider__text {
font-size: 20px !important;
line-height: 26px !important;
}

.sg-testimonial .blog-slider__text.crop-content:after {
display: none;
}

.sg-testimonial .mySwiper.myBlog {
width: calc(100% - 0px) !important;
}

.box1,
.sg-compass {
min-height: 250px !important;
}

.sg-compass h2 {
text-align: center;
}

.sg-compass a {
margin: 0px auto;
width: fit-content !important;
display: block;
}

.sg-grid-box a.elementor-button,
.sg-grid-box .sg-compass h2 span {
font-size: 16px !important;
}

.box1 h2 {
font-size: 22px !important;
margin: 0px !important;
}

.elementor-element-bfc62c4 {
margin-top: 0px !important;
}

.sg-home-bottom {
border-top: 1px solid #ededed;
}

.grid-btn .uael-dual-button-wrap {
display: block;
}

.grid-btn a {
font-weight: 500;
width: 270px !important;
margin: 8px auto;
display: block;
}

footer .elementor-image-gallery .gallery-item {
padding: 0px;
margin-bottom: 15px !important;
}

footer .elementor-image-gallery .gallery-item img {
margin: 0px;
height: 20px;
}

.page-template-template-trips .ast-container,
.archive .ast-container {
padding: 0px !important;
}

#trips-filter-form {
display: block;
}

.filter-section h4 {
margin: 6px 15px;
}

.sg-tour-contents {
padding: 0px 0px 0px 0px;
}

.trip-breadcumbs {
margin-bottom: 20px;
}

.trip-breadcumbs .container {
text-align: center;
}

.trip-item {
flex: 1 1 calc(100% - 20px);
}

.trip-rating span {
font-size: 14px;
line-height: 22px;
}

.trip-price h3 {
font-size: 18px !important;
}

.trip-price h4 {
font-size: 26px !important;
}

.trip-breadcumbs nav {
display: block;
text-align: center;
padding: 0px 10px;
}

.dropdown-ul.show {
margin: -3px 0px 0px 15px;
min-width: 93%;
max-width: 93%;
width: 93%;
border-radius: 7px;
}

.page-template-template-trips .sg-tour-contents {
padding-left: 10px;
padding-right: 10px;
}

.page-template-template-trips .sg-tour-contents .filter-section h4 {
margin: 6px 5px;
}

.page-template-template-trips .sg-tour-contents .dropdown-ul.show {
margin: -3px 0px 0px 5px;
}

.sg-page-header {
min-height: 185px !important;
}

.sg-reservation form {
padding: 20px;
}

.sg-reservation form input,
.sg-reservation form select {
font-size: 14px;
}

.radiobox input {
height: 20px;
}

.radiobox span {
font-size: 14px;
line-height: 20px;
}

.radiobox .radio {
margin-bottom: 5px;
}

.radiobox label,
.sg-reservation form label {
font-size: 15px;
line-height: 20px;
margin-bottom: 5px;
}

.sg-reservation form input.submit-booking {
padding: 15px !important;
font-size: 20px !important;
margin-top: 5px;
}

.breadcrumb {
display: block;
text-align: center;
}

.wpforms-field-layout-columns {
margin: 0px !important;
}

.wpforms-layout-column {
padding: 0px !important;
}

.sg-reservation .wpforms-form ul li {
line-height: 20px;
margin-bottom: 10px;
}

.sg-reservation .wpforms-form .wpforms-submit {
font-size: 18px;
width: 100%;
}

.wpforms-container {
margin-bottom: 0px;
}

#wpforms-29882-field_1-container {
padding-top: 0px;
}

.popup-content {
width: 95%;
}

.popup-content .contents h2 {
font-size: 24px !important;
}

.trips-content .tab-bar {
display: grid;
grid-template-columns: 33.33% 33.33% 33.33%;
border-left: 1px solid #dddddd;
}

.trips-content .tab-bar a {
font-size: 14px;
padding: 15px 3px;
border-right: 1px solid #dddddd;
border-bottom: 2px solid #dddddd;
}

.trips-content .tab-content {
padding: 30px 0px 15px 0px !important;
}

.content-title {
font-size: 16px !important;
}

.trips-content h2 {
font-size: 22px !important;
line-height: 26px !important;
margin-bottom: 20px;
}

.trips-content .overview-contents h3 {
font-size: 18px !important;
line-height: 26px;
}

.logg-contents,
.other-details,
.day-cols {
display: block;
font-weight: 500;
line-height: 32px;
}

.other-details.hide-desktop {
display: block !important;
margin-top: 10px;
}

.price-contents table tr td {
padding: 10px;
font-size: 15px;
font-weight: 500;
text-align: center;
line-height: 20px;
}

.table-book,
.sold-out-text {
padding: 7px 5px 5px 5px;
line-height: 16px;
}

.price-contents table tr td strong {
display: block;
}

.image-gallerys {
display: grid;
grid-template-columns: 31% 31% 31%;
gap: 10px;
}

.image-gallerys img {
margin: 0px;
max-width: 100%;
}

.day-list {
margin-bottom: 15px;
}

.trip-header h1 {
font-size: 26px !important;
}

.logg-contents img {
width: 100%;
margin-bottom: 10px;
}

#related-trips .trips-list {
display: block;
}

#related-trips {
overflow: hidden !important;
}

#related-trips .trips-list .trip-item {
margin-bottom: 15px;
}

.single-trips .ast-container {
padding: 0px !important;
}

.trip-image-carousel {
padding-top: 20px;
}

.trip-header {
max-width: 100%;
padding: 0px 5px;
}

.error404 #primary {
margin-top: 2em;
}

.error404 #primary img {
width: 100px;
}

.error404 .page-header .page-title {
margin-bottom: 10px;
font-size: 26px !important;
}

.ast-404-layout-1 .page-sub-title {
font-size: 18px;
}

.search .ast-blog-layout-4-grid .ast-article-post {
margin-bottom: 1em;
}

.blog .uael-post__header-filters {
display: none;
}

.blog .uael-filters-dropdown-button {
width: 100%;
text-align: center;
background: #ffffff !important;
border: 1px solid #333333;
border-radius: 10px;
padding: 10px;
}

.blog .uael-filters-dropdown  ul {
background: #ffffff !important;
padding: 15px !important;
width: 100%;
border: 1px solid #333333 !important;
border-top: none !important;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
margin-top: -8px !important;
}

.sg-blog .uael-post__content-wrap {
width: 100% !important;
}

.sg-blog .uael-post__header-filters li {
background: #ffffff !important;
border-radius: 0px;
border-bottom: 1px solid #ededed;
}

.sg-blog-sidebar {
margin-top: 30px;
}

.sticky-book-btn {
width: 100%;
}

.booknow {
font-size: 20px;
border-radius: 0px;
margin: 0px;
font-size: 18px;
}

.single-trips .cky-btn-revisit-wrapper,
.single-trips #ast-scroll-top {
display: none !important;
}

.modal-content {
position: relative;
margin: 2% auto;
padding: 20px;
background-color: white;
width: 95%;
max-width: 100%;
}

.new_ribbon .ribbon-content a {
font-size: 26px;
}

a.yellow-button {
display: block;
line-height: 20px;
margin-bottom: 5px;
}

.new_ribbon:before {
width: 60px;
height: 48px;
left: -49px;
bottom: 0px;
}

.new_ribbon:after {
width: 94px;
height: 48px;
right: -47px;
bottom: 0px;
}

.sg-ribbon .e-con-inner {
padding-bottom: 0px !important;
}

.overview-grid {
display: block;
}

.top-shortcode .breadcrumb {
width: 100%;
text-align: left;
}

.trips-table {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.cal-descriptions {
max-width: 100%;
padding: 30px 15px;
}

.calendar-contents #sidebarWrap {
width: 100%;
}

.calendar-contents #sidebar {
padding-right: 20px;
padding-left: 20px;
}

.calendar-contents #contents {
width: 100%;
padding: 0px 20px;
}

.calendar-contents .sticky {
top: 0px;
width: 100% !important;
background: #ffffff;
padding: 10px !important;
box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1) !important;
}

.calendar-contents .accordion-content ul li a {
font-size: 15px;
padding: 2px 10px;
text-align: center;
}

.calendar-contents .sticky #sidebar {
padding-right: 0px;
padding-left: 0px;
}

.calendar-contents .accordion.expanded ul {
display: grid !important;
grid-template-columns: auto auto auto;
}

.trips-table table thead th {
font-size: 14px;
padding: 5px 10px;
line-height: 16px;
}

.trips-table table tr td {
font-size: 13px;
padding: 5px 5px;
line-height: 16px;
}

a.tbl-booknow {
padding: 0px;
font-size: 12px;
background: transparent;
color: #0062A6;
}

.footer-width-fixer .e-con-full.e-flex {
padding: 0px;
}

.sg-cat-btn .uael-dual-button-wrap {
display: grid;
grid-template-columns: auto auto;
gap: 10px;
width: 100%;
}

.sg-cat-btn a.elementor-button {
margin: 0px;
}

.btn-404 a {
margin-bottom: 10px;
}

.row-dates {
padding: 5px;
gap: 5px;
}

.row-dates > div {
text-align: center;
font-size: 14px;
line-height: 17px;
}

.year-tab-content .table-book {
font-size: 12px;
}

.tooltip-content {
margin-left: 0px;
margin-top: -10px;
right: 25px;
}

.tooltip-content p {
font-size: 11px !important;
line-height: 17px;
}

.year-tab-content .table-book img {
width: 15px;
}

.year-tab-contents {
padding: 10px;
}

.year-tab-list li {
padding: 10px 15px;
}

.sg-home-grid h3 {
font-size: 22px !important;
}

.sg-home-grid a.elementor-button {
font-size: 16px !important;
}

.grid-trips-img div:nth-child(n+2) {
display: none;
}

.grid-trips-img {
grid-template-columns: 1fr;
}

.grid-trips-img img {
min-height: 100%;
height: 100%;
}

.mobile-menu div a,
#popup-destination div a,
#popup-usa div a {
display: flex;
text-transform: uppercase;
align-items: center;
gap: 30px;
font-size: 18px;
border: 1px solid #d8eac8;
padding: 0px;
margin-bottom: 10px;
border-radius: 10px;
color: #000000;
font-weight: 600;
transition: all 0.5s;
}

.mobile-menu div img,
#popup-destination div a img,
#popup-usa div a img {
width: 100px;
height: 80px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
object-fit: cover;
}

.tour-list {
padding: 20px 25px 15px 25px;
margin: 25px 0px 0px 0px !important;
background: #0062a6;
border-radius: 10px;
}

.tour-lists {
padding: 15px 25px 25px 25px;
margin: 0px 0px 0px 0px !important;
background: #0062a6;
border-radius: 10px;
}


.tour-title a {
border: none !important;
color: #7CB946 !important;
text-transform: uppercase;
font-weight: 600;
font-size: 18px;
}

.tour-list ul,
.tour-lists ul {
margin: 0px;
}

.tour-list ul li,
.tour-lists li {
list-style: none;
}

.tour-list ul li a {
border: none !important;
color: #ffffff !important;
font-size: 16px !important;
border-bottom: 1px solid #ffffff !important;
border-radius: 0px !important;
padding: 0px 0px 7px 0px !important;
}

.tour-lists li a {
border: none !important;
color: #ffffff !important;
font-size: 16px !important;
border-bottom: 1px solid #ffffff !important;
border-radius: 0px !important;
padding: 8px 0px 7px 0px !important;
text-transform: uppercase;
font-weight: 600;
}

.popup-overlay.active .tour-lists {
display: block !important;
}

/* Popup overlay styles */
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 9999;
overflow-y: auto;
display: none;
opacity: 0;
transition: opacity 0.3s ease;
padding: 20px;
}

.popup-overlay.active {
display: block;
opacity: 1;
}

.back-btn {
display: inline-block;
margin-bottom: 15px;
cursor: pointer;
font-weight: bold;
color: #7CB946;
text-transform: uppercase;
}

.popup-overlay a {
color: #000;
text-decoration: none;
display: block;
padding: 10px 0;
}

.tour-list {
display: none;
margin-left: 15px;
}

.trip-col {
margin-bottom: 20px;
}

.trip-col a {
padding: 0px;
font-size: 14px;
}

.trip-col h3 {
font-weight: 600;
font-size: 16px !important;
text-transform: uppercase;
border-bottom: 1px solid #262626;
margin-bottom: 5px;
padding-bottom: 5px;
}

#popup-collections {
padding-bottom: 50px;
}

.day-details .meta {
display: block;
}

.day-details {
padding-right: 10px;
}

.trips-taxonomy-additional-info h2 {
font-size: 20px !important;
line-height: 28px !important;
}

.toggle-mb a[aria-expanded="true"] {
position: absolute;
right: 0px;
top: -79px;
z-index: 99999999999999;
background: url(https://gosojourn.com/wp-content/uploads/2025/09/close.png);
background-size: 50%;
background-repeat: no-repeat;
background-position: center;
}

.toggle-mb a[aria-expanded="true"] svg {
opacity: 0;
}

.toggle-mb a[aria-expanded="false"] {
position: relative;
right: 0px;
top: 0px;
}

.heightls {
display: block;
}

.share-itin {
display: block;
}

.tooltip-content {
margin-left: 0px !important;
margin-top: -22px;
right: 15px !important;
width: 200px;
}

.tooltip-content p {
font-size: 12px !important;
line-height: 20px !important;
}

.row-dates .red {
text-align: left !important;
font-size: 18px;
margin-bottom: 10px;
}

.year-tab-content .table-book {
font-size: 14px;
padding: 0px;
}

.ti-widget-header {
padding: 0px !important;
margin: 0px !important;
}

.greview {
font-size: 20px !important;
margin-bottom: 0px !important;
margin-left: 0px !important;
}

.treview {
font-size: 20px !important;
}

.review-slider-wrapper .slide {
flex: 0 0 100%;
}

.elementor-element-8a0d5eb {
margin-top: 0px !important;
}

.elementor-element-a469d31 {
background: #F2F8ED !important;
padding-bottom: 30px !important;
}

.home-search {
width: 100%;
}

.home-search #trips-search-btn {
width: 100%;
margin: 0px auto;
display: block;
}

.home-search .filter-section h4 {
margin: 6px 0px;
}

.home-search .dropdown-ul.show {
margin: -3px 0px 0px 0px;
min-width: 88%;
max-width: 88%;
width: 88%;
}
}

@media only screen and (max-width: 380px) {
.tooltip-content {
width: 150px;
}
}

@media only screen and (max-width: 375px) {
.trips-content .tab-bar a {
font-size: 13px;
}

.hfe-nav-menu li a.hfe-menu-item {
padding-left: 5px !important;
font-size: 12px !important;
}
}

@media only screen and (max-width: 320px) {
h1 {
font-size: 22px !important;
}

h2,
.new_ribbon .ribbon-content a {
font-size: 22px !important;
}

h3 {
font-size: 18px !important;
}

h4 {
font-size: 16px !important;
}

h5 {
font-size: 16px !important;
}

h6 {
font-size: 14px !important;
}

.mb-header img {
width: 145px;
max-width: 145px;
}

.mb-header .elementor-element-b5e4149 {
top: 35px !important;
}

.mb-top-menu ul li a {
padding: 10px 7px !important;
}

.gs-slider h1.bdt-title-tag {
font-size: 22px !important;
}

.gs-slider ul,
.gs-slider ul li,
.gs-slider .bdt-prime-slider {
max-height: 230px;
}

.sg-testimonial .blog-slider__text p,
.sg-testimonial .blog-slider__text {
font-size: 16px !important;
line-height: 24px !important;
}

.sg-testimonial .blog-slider__text.crop-content:before {
height: 20px;
width: 20px;
}

.sg-grid-box a.elementor-button,
.sg-grid-box .sg-compass h2 span {
font-size: 15px !important;
}

.sg-testimonial h2 {
font-size: 32px !important;
}
}