:root {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);

    --bs-primary: #9ab390;
    --bs-primary-dark: #7b8f73;
    --bs-primary-ultradark: #496125;
    --bs-primary-light: #bdd09f;
    --bs-primary-ultralight: #f5f1ea;
    --bs-primary-secondary: #cc4c14;
    --bs-border-color: var(--bs-primary);
    --bs-link-color: var(--bs-primary-secondary);
    --bs-link-hover-color: #628132;
    --bs-footer: #585f69;
    --bs-footer-dark: #3e4753;
    --bs-border-light: var(--bs-primary-light);
    --bs-base-background: #fff;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    line-height: 1.2;
    color: #333;
    background-color: #fff;
}

@media only screen and (max-width: 480px) {
    body {
        font-size: 1em;
    }
}

a {
    position: relative;
    text-decoration: none;
    color: var(--bs-link-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--bs-link-hover-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Open Sans', sans-serif;
    margin-top: 5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: none;
    color: var(--bs-primary-ultradark);
}

h2 {
    font-weight: 500;
}

ul.checklist,
div.checklist ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}
ul.checklist li,
div.checklist ul li {
    padding-left: 1.5em;
    position: relative;
}
ul.checklist li:before,
div.checklist ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400; /* last one wins */
    color: var(--bs-primary-ultradark);
    font-size: 1em;
    position: absolute;
    left: 0;
    top: 0;
}
ul.checklist.x li:before,
div.checklist.x ul li:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    content: '\f057';
    color: #c00;
}

.emph {
    color: var(--bs-primary-ultradark) !important;
    font-size: 1.1em !important;
}

.itinerary-fixed-nav {
    position: relative;
    z-index: 1030;
    background: #fff;
    padding-top: 0;
    border-bottom: 1px solid #ddd;
}
.itinerary-fixed-nav::before,
.itinerary-fixed-nav::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 0;
    height: 1px;
    background: #ddd;
    width: 100%;
    margin-left: -50vw;
}
.itinerary-fixed-nav::before {
    top: 0;
}
.itinerary-fixed-nav::after {
    bottom: 0;
}

.is-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1030;
    border-bottom: 1px solid #ddd;
    transition: top 0.3s ease;
}

.inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a.read-more {
    display: none;
}

.checklist {
    padding-top: 1em;
}
.checklist li {
    margin-bottom: 0.5em;
}

.child-modal .modal-dialog {
    z-index: 1060;
    max-width: 50%;
    margin: 30px auto;
}

.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1070;
    justify-content: center;
    align-items: center;
}
.custom-overlay-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    z-index: 1071;
}

.offcanvas {
    z-index: 1060;
}

.custom-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    transition:
        visibility 0s,
        opacity 0.5s linear;
}
.custom-offcanvas.show {
    visibility: visible;
    opacity: 1;
}
.custom-offcanvas .offcanvas-body {
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bootstrap-slider-modal {
    display: none;
    position: fixed;
    z-index: 1060;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.bootstrap-slider-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    width: 80%;
}
.bootstrap-slider-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.bootstrap-slider-modal-close:hover,
.bootstrap-slider-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.date-avialability-description h3 {
    text-align: center;
    font-size: 2em;
    margin: 40px 0 0;
    border-bottom: 1px dotted var(--bs-primary);
    padding-bottom: 0.3em;
}
.date-avialability-description pre {
    display: none;
}

.Xboostrap-slider-component {
    display: none;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.5em;
}
.where-do-you {
    font-size: 2.5em;
}

.fixed-header-anchor {
    display: block;
    height: 200px;
    margin-top: -200px;
    visibility: hidden;
}

.collapsible-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.collapsible-checklist li {
    margin-bottom: 10px;
}

.checklist-collapsible {
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    color: var(--bs-link-color);
    position: relative;
    padding-left: 20px;
}
.checklist-collapsible::before {
    content: '\25B8'; /* last one wins */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--bs-primary);
}
.checklist-collapsible.active::before {
    transform: translateY(-50%) rotate(90deg);
}
.checklist-content {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.checklist-content.open {
    max-height: 1000px;
    padding: 10px 15px;
    margin: 10px 0;
}

.hidden-nav {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.season h4 {
    font-size: 1.7em;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bs-border-light);
}

.highlight-body h3 {
    border-bottom: 1px solid var(--bs-border-light);
    padding-bottom: 5px;
    margin-top: 20px;
}

.price-display {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}
.price-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
}
.price-card h4 {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #333;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.price-card ul li {
    margin: 10px 0;
    font-size: 1em;
    color: #666;
}
.price-card ul li strong {
    color: #000;
}

.page-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.details-big-link a {
    font-size: 1.3em;
}

.big-emph {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--bs-primary-dark);
}

.level-indicator {
    display: inline-flex;
    gap: 5px; /* Space between circles */
    vertical-align: middle; /* Align with the middle of the link */
    margin-left: 10px;
}

.difficulty-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #eee; /* Default color for empty circles */
    border: 1px solid #ccc;
}

.level-1 .difficulty-circle:nth-child(1),
.level-2 .difficulty-circle:nth-child(-n + 2),
.level-3 .difficulty-circle:nth-child(-n + 3),
.level-4 .difficulty-circle:nth-child(-n + 4) {
    background-color: var(--bs-primary-light); /* Filled circle color */
}

.collapsible-checklist-section {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
    background: #fff;
}

.collapsible-checklist-section summary {
    cursor: pointer;
    font-weight: bold;
    padding: 6px 10px;
    background: #fafafa;
    color: #b33;
}

.collapsible-checklist-section[open] summary {
    color: #2a662a;
}

.collapsible-checklist-body {
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.request-details {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: var(--bs-primary-ultralight);
    font-style: italic;
    margin-bottom: 20px;
    border: 1px solid var(--bs-primary-dark);
    border-left: 3px solid var(--bs-primary-dark);
    font-style: italic;
}

a.external {
    text-decoration: underline !important;
    border-radius: 5px;
    transition: background 0.3s ease;
}

a.external::after {
    font-family: 'Font Awesome 5 Free'; /* FA5 Free uses this family */
    font-weight: 900; /* Use 900 for solid icons */
    content: '\f35d'; /* Unicode for fa-external-link-alt */
    margin-left: 0.5em;
    vertical-align: middle;
    font-size: 0.8em; /* Adjust this value as needed */
}

/* 


* { outline: 1px solid lime; }
body { outline: 4px solid orange !important; }
.container { outline: 2px solid blue !important; } */

hr.hr-gradient {
    border: none;
    margin: 1rem 0;
    height: 1px; /* semantic height */
    background: none; /* don't rely on this */
    position: relative;
}

hr.hr-gradient::before {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.25), transparent);
}
/* OLJ system HR */
hr.hr {
    all: unset; /* resets ONLY when class is present */
    display: block;
    width: 100%;
    margin: 1.1rem 0;
    position: relative;
}

hr.hr-soft::before {
    opacity: 0.15;
}
hr.hr-tight {
    margin: 1rem 0;
}
hr.hr-loose {
    margin: 3rem 0;
}

li {
    margin-bottom: 0.5em;
    /* border: 1px solid red!important; */
}

/* This is to make the descrotions headers mostly show smaller so I can still use normal # ## #### markdown */
.description-markdown h1 {
    font-size: 1.6rem;
}

.description-markdown h2 {
    font-size: 1.35rem;
}

.description-markdown h3 {
    font-size: 1.15rem;
}

.description-markdown h4,
.description-markdown h5,
.description-markdown h6 {
    font-size: 1rem;
}

.description-markdown .gallery-wrapper {
    margin-bottom: 1rem;
}

/* ==================================================
   Place display
   ================================================== */

.place-display__map-collapsible {
    margin: 1rem 0;
}

.place-display__map-collapsible > summary {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    color: var(--bs-link-color);

    border: 1px solid var(--bs-border-light);
    border-radius: 4px;
}

.place-display__map-collapsible[open] > summary {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.google-map-embed {
    display: block;
    width: 100%;
}

.place-display__collapsible-content,
.accommodation-display__collapsible-content,
.topic-display__collapsible-content {
    margin-top: 0.75rem;
}

/* Nested collapsibles, excluding MapEmbed and Place maps */
.description-markdown details details:not(.place-display__map-collapsible):not(.map-embed-collapsible) {
    border: 1px solid var(--bs-primary-dark);
    margin-bottom: 1em;
}

/* Indent nested content without moving the summary */
.description-markdown details details:not(.place-display__map-collapsible):not(.map-embed-collapsible) > :not(summary) {
    margin-left: 1em;
    margin-right: 1em;
}

/* Style only the Place collapsible inside this wrapper */
.featured-place > .place-display > .place-display__collapsible {
    border: 1px solid var(--bs-primary-dark);
    border-radius: 0px;
    padding: 0.5em 1em;
}

/* Pad Place collapsible content without changing its summary */
.featured-place .place-display__collapsible > .place-display__collapsible-content {
    padding: 0.5em 1em;
}

/* Keep normal padding inside MapEmbed collapsibles */
.description-markdown .map-embed-collapsible > .collapsible-checklist-body {
    padding: 0.75em 1em;
}

/* Remove the map's own extra margins */
.description-markdown .map-embed-collapsible > .collapsible-checklist-body > .map-embed-shortcode {
    margin: 0;
}
