/* =========================================================
   JR AJAX HEADER SEARCH 1.3
   ========================================================= */

.jr-ahs-no-results div#short-form p {
    margin-bottom: 10px !important;
}
.jr-ahs-no-results .dscf7-question-container {
    text-align: left;
}
svg.jr-ahs-search-icon {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.jr-ahs-placeholder-text{
	color:#000;
}
.jr-ahs-no-results .package-submit {
    text-align: center;
    margin-top: 20px;
}#short-form .dscf7-captcha-container {
    padding: 0;
    width: 100%;
}
.not-found-text p {
    text-align: left;
}
.not-found-text p a {
    text-align: left;
    font-size: 16px;
}
.not-found-text {
    width: 30%;
    padding: 30px;
    border-radius: 12px;
    background-color: #515F4A;
    background-image: url(https://junglerevives.com/wp-content/uploads/2024/11/footer-shade.png);
}
.not-found-text h3 {
    text-align: left;
    color: #2a2a2a;
    font-size: 30px;
    margin-top: 30px;
}
p.mb-10 {
    align-items: center;
    display: flex;
    gap: 6px;
    margin-bottom: 7px !important;
}p.mb-10 img {
    border-radius: 50%;
}h3.mt-20 {
    margin-top: 40px !important;
}
.not-found-text * {
    justify-content: center;
}
.not-found-text h3 {
    color: #fff;
    font-family: 'Roboto';
    font-size: 22px;
    letter-spacing: 0px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}
.not-found-text h3 img {
    width: auto;
    height: 26px !important;
}
.not-found-text p a {
    color: #fff;
    line-height: 28px;
}
.not-found-div {
    display: flex;
    gap: 40px;
}
section.jr-ahs-result-section .child-excerpt.package-excerpt {
    display: none;
}
.no-margin p {
    margin: 0px;
}
button.jr-ahs-clear {
    display: none;
    opacity: 0;
}


.jr-ahs-results-panel .banner-form .dscf7-captcha-container {
    background: #515f4a;
  
}
.jr-ahs-results .packages-wrapper .package-image img {
    max-height: 250px;
    object-fit: cover;
    object-position: top;
}
.jr-ahs-results .packages-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.jr-ahs-results .packages-wrapper .package-excerpt {
    display: none;
}



svg.jr-ahs-search-icon {
    padding: 8px;
    background: #ab916c;
    font-size: 16px;
    color: #fff;
    height: 37px;
    width: 39px;
    margin-right: 0px;
}
.jr-ahs {
    position: static;
    width: 100%;
}

button.jr-ahs-clear {
    display: none !important;
    opacity: 0;
}

.jr-ahs-searchbar {
    width: 100%;
    height: 39px;
    min-width: 180px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #6b6a68;
    border-radius: 5px;
    padding: 0 0px 0 0px;
}
.jr-ahs-searchbar::placeholder {
    color: #000 !important;
}
.jr-ahs-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}
.jr-ahs-search-icon {
    flex: 0 0 auto;
    color: #222;
    margin-right: 7px;
}

.jr-ahs-input {
    width: 100% !important;
    min-width: 0;
    height: 42px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 0px 0 0 !important;
    margin: 0 !important;
    font-size: 14px;
    line-height: 42px;
    color: #222 !important;
	    padding-right: 10px !important;
}

.jr-ahs-input::placeholder {
    color: transparent;
}

.jr-ahs-placeholder {
    position: absolute;
    left: 15px;
    right: 0;
    top: 2px;
    height: 37px;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    color: #666;
    font-size: 14px;
    line-height: 37px;
    transition: opacity .18s ease;
}

.jr-ahs-placeholder-text {
    display: block;
    width: 100%;
    white-space: nowrap;
    transform: translateY(0);
}input.jr-ahs-input {
    padding-left: 15px !important;
}

.jr-ahs-placeholder-text.jr-ahs-placeholder-out {
    animation: jrAhsPlaceholderOut .45s ease forwards;
}

.jr-ahs-placeholder-text.jr-ahs-placeholder-in {
    animation: jrAhsPlaceholderIn .45s ease forwards;
}

@keyframes jrAhsPlaceholderOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-100%); opacity: 0; }
}

@keyframes jrAhsPlaceholderIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.jr-ahs-placeholder.is-hidden {
    opacity: 0;
}

.jr-ahs-clear {
    display: none;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #1f1f1f;
    font-size: 30px;
    line-height: 25px;
    justify-content: center;
    opacity: 1;
}

.jr-ahs-loader {
    display: none;
    position: absolute;
    right: 70px;
    width: 16px;
    height: 16px;
    border: 2px solid #d8d8d8;
    border-top-color: #222;
    border-radius: 50%;
    animation: jrAhsSpin .65s linear infinite;
}
@keyframes jrAhsSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* RESULTS PANEL */

.jr-ahs-results-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: 69px;
    width: 100%;
    height: calc(100vh - 69px);
    overflow-y: auto;
    background: #fff;
    z-index: 999998;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.jr-ahs-results-panel.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.jr-ahs-results-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 35px 48px 60px;
}

.jr-ahs-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.jr-ahs-count {
    font-size: 15px;
    color: #555;
}

.jr-ahs-count strong {
    color: #111;
}

/* SECTION HEADINGS */

.jr-ahs-result-section {
    margin: 0 0 55px;
}

.jr-ahs-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6e6e6;
}

.jr-ahs-section-heading h2 {
    margin: 0 !important;
    line-height: 1.25 !important;
    font-family: 'Roboto';
    font-size: 24px;
    font-weight: 500;
    color: #1C1A1B;
    letter-spacing: -.5px;
}

.jr-ahs-section-heading span {
    font-size: 13px;
    color: #777;
    white-space: nowrap;
}

.jr-ahs-subsection {
    margin-bottom: 32px;
}

.jr-ahs-subsection:last-child {
    margin-bottom: 0;
}

.jr-ahs-subheading {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

/* EXISTING PACKAGE/PAGE LOOPS */

.jr-ahs-native-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jr-ahs-native-grid .package-item,
.jr-ahs-native-grid .child-item {
    min-width: 0;
}

/* BLOGS */

.jr-ahs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jr-ahs-blog-card {
    min-width: 0;
    border: 1px solid #e7e7e7;
    background: #fff;
    overflow: hidden;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.jr-ahs-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.jr-ahs-blog-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

.jr-ahs-blog-image {
    height: 210px;
    overflow: hidden;
    background: #f2f2f2;
}

.jr-ahs-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.jr-ahs-blog-card:hover .jr-ahs-blog-image img {
    transform: scale(1.03);
}

.jr-ahs-blog-body {
    padding: 18px;
}

.jr-ahs-blog-date {
    margin-bottom: 7px;
    font-size: 12px;
    color: #888;
}

.jr-ahs-blog-body h3 {
    margin: 0 0 9px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    color: #1c1a1b;
    font-family: 'Roboto';
    letter-spacing: -0.5px;
}
section.jr-ahs-result-section.jr-ahs-title-section .child-excerpt.package-excerpt, section.jr-ahs-result-section.jr-ahs-content-section .child-excerpt.package-excerpt {
    display: none;
}
.jr-ahs-subsection h3.package-title {
    font-family: 'Roboto';
    font-size: 20px;
    letter-spacing: -0.5px;
}
.jr-ahs-blog-body p {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #777;
    display: -webkit-box;
	display:none;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jr-ahs-blog-more {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

/* NO RESULTS */
.not-found-div div#short-form {
    width: 30%;
}
.not-found-div {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 30px;
}.not-found-text p a:hover {
    color: #cdab7b;
}
.jr-ahs-no-results {
    max-width: 100%;
    margin: 0px auto;
    text-align: center;
    color: #666;
}
.jr-ahs-no-results-icon {
    margin-bottom: 15px;
    color: #999;
}

.jr-ahs-no-results h2 {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    color: #222;
    font-family: 'Roboto';
}

.jr-ahs-no-results p {
    margin: 0 !important;
    font-size: 14px !important;
}

p.not-found-heading {
    color: #000;
    font-size: 26px !important;
    margin-bottom: 15px !important;
    font-weight: 600;
}
/* MOBILE */

@media (max-width: 1024px) {
    .jr-ahs-native-grid,
    .jr-ahs-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jr-ahs-results-inner {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 767px) {
	.jr-ahs-results .packages-wrapper {
    grid-template-columns: repeat(1, 1fr);
 }
    .jr-ahs-searchbar {
        height: 44px;
		border-radius:5px !important;
    }
svg.jr-ahs-search-icon {
    padding: 10px;
    height: 44px;
    width: 44px;
    margin-right: 0;
}
/*     .jr-ahs-input {
        height: 36px;
        font-size: 13px;
        line-height: 36px;
    } */

    .jr-ahs-native-grid,
    .jr-ahs-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jr-ahs-results-inner {
        padding: 22px 15px 40px;
    }

    .jr-ahs-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .jr-ahs-section-heading h2 {
        font-size: 23px !important;
    }

    .jr-ahs-blog-image {
        height: 190px;
    }
}


/* =========================================================
   INFINITE SCROLL / LOAD-MORE
   The existing 3-column card grid remains intact. The loader
   lives below the grid and never becomes a grid column.
   ========================================================= */

.jr-ahs-load-more {
    width: 100%;
    min-height: 54px;
    margin: 28px 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    color: #777;
    font-size: 13px;
    text-align: center;
    clear: both;
}

.jr-ahs-load-more-spinner {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid #d8d8d8;
    border-top-color: #222;
    border-radius: 50%;
    animation: jrAhsSpin .65s linear infinite;
}

.jr-ahs-load-more:not(.is-loading) .jr-ahs-load-more-spinner {
    display: none;
}

/* Keep every native card collection a real 3-column grid even while
   additional batches are appended. */
.jr-ahs-results .jr-ahs-native-grid,
.jr-ahs-results .jr-ahs-blog-grid {
    width: 100%;
    display: grid !important;
    box-sizing: border-box;
}

.jr-ahs-results .jr-ahs-native-grid > .package-item,
.jr-ahs-results .jr-ahs-native-grid > .child-item,
.jr-ahs-results .jr-ahs-blog-grid > .jr-ahs-blog-card {
    width: auto !important;
    max-width: none;
    min-width: 0;
    float: none !important;
}

@media (max-width: 1024px) {
    .jr-ahs-results .jr-ahs-native-grid,
    .jr-ahs-results .jr-ahs-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .jr-ahs-results .jr-ahs-native-grid,
    .jr-ahs-results .jr-ahs-blog-grid {
        grid-template-columns: 1fr;
    }

    .jr-ahs-load-more {
        margin-top: 22px;
    }
}
