/*
Theme Name:   Dovi
Description:  Theme based off of Astra.
Author:       Dovi Solutions
Author URL:   dovidev.com
Template:     hello-elementor
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  dovi
*/

.page-header {display: none; }
a:not(.elementor-button) {color: var(--e-global-color-primary); }

/* ==========================================================================
   Majesty RV Rentals
   Brand tokens. Kit globals carry the same values for Elementor controls.
   ========================================================================== */

:root {
    --plum-950: #1a0c30;
    --plum-900: #26123f;
    --plum-800: #371d57;
    --violet-600: #5c2d8a;
    --violet-400: #8a5bb3;
    --violet-100: #efe7f6;
    --gold-500: #e8b24f;
    --gold-600: #d29a33;
    --cream-50: #fbf8f4;
    --ink-900: #1d1726;
    --ink-600: #5a5266;
    --line: #e4dcea;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 12px 32px rgba(38, 18, 63, 0.12);
    --font-head: "Montserrat", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

.icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    vertical-align: -0.2em;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.mj-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Headings inside HTML widgets drop Hello's default margins */
.elementor-widget-html h2,
.elementor-widget-html h3 {
    margin: 0 0 0.5em;
}

.elementor-widget-html p {
    margin: 0 0 1em;
}

/* Static buttons (header CTA). Elementor buttons get the same look from the kit. */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.85em 1.6em;
    border: 2px solid var(--gold-500);
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--plum-950);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.button:hover {
    border-color: var(--gold-600);
    background: var(--gold-600);
    transform: translateY(-1px);
}

.button-small {
    padding: 0.55em 1.2em;
    font-size: 0.85rem;
}

.elementor-button {
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.elementor-button:hover {
    transform: translateY(-1px);
}

.elementor .button-ghost .elementor-button {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    color: var(--white);
}

.elementor .button-ghost .elementor-button:hover,
.elementor .button-ghost .elementor-button:focus {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: var(--font-head);
    font-weight: 700;
    text-decoration: none;
}

.text-link .icon {
    transition: transform 0.2s;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* ==========================================================================
   Header: a strip of hero shows above the purple nav bar, and the bar runs
   through the logo's white circle. On scroll the strip collapses.
   ========================================================================== */

.mj-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    padding-top: 44px;
    transition: padding-top 0.25s;
}

.admin-bar .mj-header {
    top: 32px;
}

.mj-header.is-scrolled {
    padding-top: 0;
}

.mj-header .nav-bar {
    background: var(--violet-600);
    box-shadow: 0 6px 20px rgba(26, 12, 48, 0.25);
}

.mj-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
}

.mj-header .brand {
    position: absolute;
    top: 50%;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(26, 12, 48, 0.28);
    transform: translateY(-50%);
    transition: width 0.25s, height 0.25s, top 0.25s, transform 0.25s;
}

/* Scrolled: the circle hangs below the bar instead of above the viewport */
.mj-header.is-scrolled .brand {
    top: 6px;
    width: 88px;
    height: 88px;
    transform: none;
}

.mj-header .brand-logo {
    width: 78%;
}

.mj-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mj-header .mj-nav a {
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.mj-header .mj-nav a:hover {
    color: var(--gold-500);
}

.mj-header .mj-nav a.button {
    color: var(--plum-950);
}

/* Beats Hello's button reset and the kit's button styles */
.mj-header .nav-toggle,
.mj-header .nav-toggle:hover,
.mj-header .nav-toggle:focus {
    display: none;
    padding: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.mj-header .nav-toggle .icon {
    width: 28px;
    height: 28px;
}

/* Pages without the hero start below the fixed header */
body:not(.home) [data-elementor-type="single-page"],
body:not(.home) [data-elementor-type="single-post"],
body:not(.home) [data-elementor-type="error-404"],
body:not(.home) [data-elementor-type="search-results"],
body:not(.home) [data-elementor-type="archive"] {
    padding-top: 140px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.elementor-section.section {
    padding: 104px 24px;
}

.elementor-section.section-tinted {
    background-color: var(--violet-100);
}

.elementor-section.section-dark {
    background-color: var(--plum-900);
    color: var(--white);
}

.elementor .elementor-widget.eyebrow {
    margin-bottom: 0.6em;
}

.elementor .elementor-widget.eyebrow .elementor-heading-title {
    color: var(--violet-600);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.elementor .section-dark .elementor-widget.eyebrow .elementor-heading-title,
.elementor .mj-hero .elementor-widget.eyebrow .elementor-heading-title,
.cross-country .eyebrow {
    color: var(--gold-500);
}

.elementor .elementor-widget.section-title {
    max-width: 760px;
}

.elementor .elementor-widget.section-title .elementor-heading-title {
    margin: 0 0 0.5em;
}

.elementor .elementor-widget.lead {
    max-width: 760px;
    color: var(--ink-600);
    font-size: 1.15rem;
}

.elementor .section-dark .elementor-widget.lead {
    color: rgba(255, 255, 255, 0.8);
}

.elementor .elementor-widget.lead p:last-child {
    margin-bottom: 0;
}

.elementor .elementor-widget.head-end {
    margin-bottom: 52px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* Header clearance lives on the container so it counts inside Elementor's min-height instead of adding to it */
.elementor-section.mj-hero {
    padding: 0 24px 72px;
    color: var(--white);
}

.elementor-section.mj-hero > .elementor-container {
    padding-top: 190px;
    box-sizing: border-box;
}

.elementor .elementor-widget.hero-title {
    max-width: 820px;
}

.elementor .elementor-widget.hero-title .elementor-heading-title {
    margin: 0 0 0.5em;
}

/* Max width sits on the paragraph so the auto-width buttons below still wrap to their own row */
.elementor .elementor-widget.hero-lead {
    width: 100%;
    font-size: 1.25rem;
    opacity: 0.95;
}

.elementor .elementor-widget.hero-lead p {
    max-width: 640px;
}

.elementor .elementor-widget.hero-lead p:last-child {
    margin-bottom: 0;
}

.elementor .mj-hero .elementor-widget-button {
    margin: 28px 14px 36px 0;
}

/* Elementor zeroes the button widgets' bottom margin, so the proof list carries the gap itself */
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 36px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    list-style: none;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-proof .stars {
    color: var(--gold-500);
}

/* Hero splits into copy on the left two thirds and the date checker card on the right third */
.elementor .mj-hero .hero-main > .elementor-widget-wrap {
    padding-right: 48px;
}

.elementor .mj-hero .hero-side > .elementor-widget-wrap {
    align-content: flex-end;
}

/* Hero date checker: a white card with pickup and return side by side, the button under them, calendar drops below */
.elementor .elementor-widget.hero-checker {
    width: 100%;
}

.mj-checker {
    position: relative;
    color: var(--ink-900);
}

.mj-checker-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 18px 14px 14px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(26, 12, 48, 0.35);
}

.mj-checker-title {
    grid-column: 1 / -1;
    margin: 0 8px 10px;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plum-900);
}

.mj-checker .mj-checker-field,
.mj-checker .mj-checker-field:focus {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink-900);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s;
}

.mj-checker-field + .mj-checker-field {
    position: relative;
}

.mj-checker-field + .mj-checker-field::before {
    position: absolute;
    top: 22%;
    bottom: 22%;
    left: 0;
    width: 1px;
    background: var(--line);
    content: "";
}

.mj-checker .mj-checker-field:hover,
.mj-checker .mj-checker-field.is-active {
    border: 0;
    background: var(--violet-100);
}

.mj-checker-field.is-active::before,
.mj-checker-field:hover::before {
    display: none;
}

.mj-checker-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet-600);
}

.mj-checker-value {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--ink-600);
}

.mj-checker-field.has-value .mj-checker-value {
    font-weight: 600;
    color: var(--ink-900);
}

.mj-checker .mj-checker-submit,
.mj-checker .mj-checker-submit:focus {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 15px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--gold-500);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--plum-950);
    cursor: pointer;
    transition: background 0.2s;
}

/* The kit's button:hover adds a 2px border, so every hover state here resets it to keep the size steady */
.mj-checker .mj-checker-submit:hover,
.mj-checker .mj-checker-submit:focus-visible {
    border: 0;
    background: var(--gold-600);
}

.mj-checker-calendar {
    /* No top, so it sits at its static spot right under the card instead of under the status line */
    position: absolute;
    z-index: 20;
    left: 0;
    margin-top: 10px;
    width: 100%;
    padding: 18px 20px 14px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 20px 48px rgba(26, 12, 48, 0.35);
    box-sizing: border-box;
}

.mj-checker-calendar[hidden] {
    display: none;
}

.mj-checker-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mj-checker-hint {
    margin: 0;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--plum-900);
}

.mj-checker .mj-checker-nav,
.mj-checker .mj-checker-nav:hover,
.mj-checker .mj-checker-nav:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--plum-900);
    cursor: pointer;
}

.mj-checker .mj-checker-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

/* The script renders one or two months depending on the checker's width; each takes an equal column */
.mj-checker-months {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 28px;
}

.mj-checker-month-title {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    color: var(--ink-900);
}

.mj-checker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 2px;
}

.mj-checker-weekday {
    padding-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--ink-600);
}

.mj-checker .mj-checker-day,
.mj-checker .mj-checker-day:focus {
    aspect-ratio: 1;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--ink-900);
    cursor: pointer;
}

.mj-checker .mj-checker-day:hover {
    border: 0;
}

.mj-checker .mj-checker-day:hover:not(:disabled) {
    background: var(--violet-100);
}

.mj-checker .mj-checker-day:disabled {
    color: #c4bccc;
    cursor: default;
}

.mj-checker .mj-checker-day.is-booked {
    text-decoration: line-through;
    background: #f3f0f6;
    border-radius: 0;
}

.mj-checker .mj-checker-day.is-between {
    border-radius: 0;
    background: var(--violet-100);
}

.mj-checker .mj-checker-day.is-start,
.mj-checker .mj-checker-day.is-end {
    background: var(--violet-600);
    font-weight: 700;
    color: var(--white);
}

.mj-checker .mj-checker-day.is-start:hover,
.mj-checker .mj-checker-day.is-end:hover {
    background: var(--plum-800);
}

.mj-checker-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: var(--ink-600);
}

.mj-checker-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #f3f0f6;
    box-shadow: inset 0 0 0 1px var(--line);
}

.mj-checker-status {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 1.4em;
    margin: 12px 0 0 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.mj-checker-status .icon {
    color: var(--gold-500);
}

/* ==========================================================================
   Parks
   ========================================================================== */

.park-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.park-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.park-photo {
    position: relative;
    aspect-ratio: 16 / 8;
    background-color: var(--plum-800);
    background-size: cover;
    background-position: center;
}

.park-photo-glacier {
    background-position: center 30%;
}

.park-drive {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(26, 12, 48, 0.75);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
}

.park-body {
    padding: 26px 28px 28px;
}

.elementor .park-body h3 {
    font-size: 1.5rem;
}

.elementor .park-body .park-idea {
    margin: 0;
    padding: 14px 16px;
    border-left: 3px solid var(--violet-400);
    border-radius: 0 8px 8px 0;
    background: var(--violet-100);
    font-size: 0.95rem;
}

.cross-country {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    padding: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--plum-800), var(--violet-600));
    color: var(--white);
}

.cross-country .eyebrow {
    margin-bottom: 0.6em;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.elementor .cross-country h3 {
    font-size: 2rem;
    font-weight: 800;
}

.cross-country a.text-link {
    color: var(--gold-500);
}

.cross-country-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cross-country-facts li {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.3;
}

.cross-country-facts strong {
    display: block;
    color: var(--gold-500);
    font-family: var(--font-head);
    font-size: 1.8rem;
}

/* ==========================================================================
   The RV
   ========================================================================== */

.spec-band {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 18px;
    border-radius: var(--radius);
    background: var(--white);
    line-height: 1.3;
}

.spec .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    color: var(--violet-600);
}

.spec strong {
    font-family: var(--font-head);
    font-size: 1rem;
}

.spec span {
    color: var(--ink-600);
    font-size: 0.9rem;
}

.rv-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.rv-floorplan {
    margin: 0;
}

.rv-floorplan img {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rv-floorplan figcaption {
    margin-top: 12px;
    color: var(--ink-600);
    font-size: 0.95rem;
}

.sleep-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sleep-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.sleep-list strong {
    display: block;
    color: var(--plum-800);
    font-family: var(--font-head);
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.feature-group {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
}

.icon-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 7px 0;
    line-height: 1.4;
}

.icon-list .icon {
    margin-top: 1px;
    color: var(--violet-600);
}

.included-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
    padding: 32px;
    border: 2px dashed var(--violet-400);
    border-radius: var(--radius);
}

.elementor-widget-html .included-band p {
    margin: 0;
    color: var(--ink-600);
}

.spec-table-wrap {
    border-radius: var(--radius);
    background: var(--white);
}

.spec-table-wrap summary {
    padding: 20px 28px;
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
}

.spec-table-wrap .spec-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 1em;
}

/* Overrides Hello's table borders and odd-row stripe */
.spec-table-wrap .spec-table tbody > tr > th,
.spec-table-wrap .spec-table tbody > tr > td {
    padding: 12px 28px;
    border: 0;
    border-top: 1px solid var(--line);
    background-color: transparent;
    line-height: 1.5;
    text-align: left;
}

.spec-table-wrap .spec-table tbody > tr > th {
    width: 45%;
    color: var(--ink-600);
    font-weight: 600;
}

/* ==========================================================================
   Gallery (Elementor lightbox opens the full image)
   ========================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: var(--line);
    cursor: zoom-in;
}

.elementor .gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item-wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.price-card-main {
    background: var(--white);
    color: var(--ink-900);
}

.elementor-widget-html .price {
    margin-bottom: 20px;
    color: var(--ink-600);
    font-family: var(--font-head);
    font-weight: 600;
}

.price-amount {
    color: var(--plum-800);
    font-size: 3.4rem;
    font-weight: 800;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    line-height: 1.4;
}

.check-list .icon {
    color: var(--violet-600);
}

.section-dark .check-list .icon {
    color: var(--gold-500);
}

.section-dark .price-card-main .check-list .icon {
    color: var(--violet-600);
}

.estimator label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
}

.estimator-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.estimator-row input {
    flex: 1;
    accent-color: var(--gold-500);
}

.estimator-row output {
    min-width: 2.2em;
    color: var(--gold-500);
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: right;
}

.estimate-lines,
.terms {
    margin: 0;
}

.estimate-lines div,
.terms div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}

.estimate-lines dt,
.terms dt {
    font-weight: 400;
}

.estimate-lines dd,
.terms dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.terms dt {
    color: rgba(255, 255, 255, 0.75);
}

.estimate-total {
    font-family: var(--font-head);
    font-size: 1.15rem;
}

.estimate-total dd {
    color: var(--gold-500);
    font-size: 1.4rem;
}

.elementor-widget-html .fine-print {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.rating-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 48px;
    padding: 36px 40px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.rating-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rating-number {
    color: var(--plum-800);
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.stars-row {
    display: flex;
    gap: 2px;
    color: var(--gold-500);
}

.rating-meta {
    color: var(--ink-600);
    font-size: 0.9rem;
}

.rating-bars {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rating-bars li {
    display: grid;
    grid-template-columns: 140px 1fr 36px;
    gap: 16px;
    align-items: center;
    padding: 5px 0;
    font-size: 0.95rem;
}

.bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--violet-100);
}

.bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--violet-600);
}

.review-grid {
    columns: 3;
    column-gap: 24px;
}

.review-grid .review {
    margin: 0 0 24px;
    padding: 28px;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
    break-inside: avoid;
}

.review-grid .review p {
    font-size: 1.05rem;
}

.review-grid .review p::before {
    content: "\201C";
    margin-right: 2px;
    color: var(--violet-400);
    font-family: Georgia, serif;
    font-size: 1.6em;
    line-height: 0;
    vertical-align: -0.3em;
}

.review-grid .review footer {
    color: var(--ink-600);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   Hosts
   ========================================================================== */

.elementor .hosts-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.elementor .hosts-text > .elementor-widget-wrap {
    padding-left: 56px;
}

/* ==========================================================================
   FAQ (native toggle widget)
   ========================================================================== */

.elementor .faq-list .elementor-toggle-item {
    border-bottom: 1px solid var(--line);
}

.elementor .faq-list .elementor-tab-title {
    position: relative;
    padding: 22px 40px 22px 0;
    border: 0;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.elementor .faq-list .elementor-tab-title a {
    color: var(--ink-900);
    text-decoration: none;
}

.elementor .faq-list .elementor-toggle-icon {
    position: absolute;
    top: 50%;
    right: 4px;
    width: auto;
    color: var(--violet-600);
    transform: translateY(-50%);
}

.elementor .faq-list .elementor-toggle-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.elementor .faq-list .elementor-tab-content {
    padding: 0 40px 16px 0;
    border: 0;
    color: var(--ink-600);
}

/* ==========================================================================
   Inquiry
   ========================================================================== */

.elementor .inquire-text > .elementor-widget-wrap {
    padding-right: 64px;
}

.elementor .inquire-text .elementor-widget.lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.elementor .inquire-text .check-list {
    margin-top: 1em;
}

.inquire-form {
    padding: 36px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink-900);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

/* Keep the datepicker button inside its own date input instead of spilling into the next column */
.inquire-form .ginput_container_date {
    position: relative;
}

.inquire-form .ginput_container_date input {
    width: 100%;
    padding-right: 40px;
}

.inquire-form .ginput_container_date .gform-datepicker-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    margin: 0;
    padding: 4px;
    border: 0;
    background: none;
    color: var(--ink-900);
    box-shadow: none;
    cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.mj-footer {
    padding: 56px 0;
    background: var(--plum-950);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.mj-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.mj-footer p {
    margin: 0;
}

.mj-footer .footer-logo {
    width: 150px;
    margin-bottom: 14px;
}

.mj-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
}

.mj-footer .footer-links a {
    color: var(--white);
    text-decoration: none;
}

.mj-footer .footer-links a:hover {
    color: var(--gold-500);
}

.mj-footer .footer-copy {
    font-size: 0.85rem;
}

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (max-width: 1100px) {
    .spec-band {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Elementor's tablet breakpoint stacks the hero columns, so the checker card moves under the copy */
@media (max-width: 1024px) {
    .elementor .mj-hero .hero-main > .elementor-widget-wrap {
        padding-right: 0;
    }

    .elementor .mj-hero .hero-side > .elementor-widget-wrap {
        max-width: 480px;
        margin-top: 28px;
    }
}

@media (max-width: 960px) {
    .mj-header .nav-toggle,
    .mj-header .nav-toggle:hover,
    .mj-header .nav-toggle:focus {
        display: block;
    }

    .mj-nav {
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 20px;
        background: var(--cream-50);
        box-shadow: 0 12px 24px rgba(38, 18, 63, 0.15);
    }

    .mj-nav.is-open {
        display: flex;
    }

    .mj-header .mj-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        color: var(--plum-800);
    }

    .mj-header .mj-nav a:hover {
        color: var(--violet-600);
    }

    .mj-header .mj-nav a.button {
        margin-top: 14px;
        border-bottom: 2px solid var(--gold-500);
    }

    .park-grid,
    .rv-detail,
    .cross-country,
    .pricing-grid,
    .feature-columns {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 170px;
    }

    .review-grid {
        columns: 2;
    }

    .rating-summary {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .elementor .hosts-text > .elementor-widget-wrap {
        padding-top: 36px;
        padding-left: 0;
    }

    .elementor .inquire-text > .elementor-widget-wrap {
        padding-right: 0;
        padding-bottom: 36px;
    }
}

@media (max-width: 782px) {
    .admin-bar .mj-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .mj-container {
        padding: 0 16px;
    }

    .elementor-section.section {
        padding: 72px 16px;
    }

    .elementor-section.mj-hero {
        padding: 0 16px 48px;
    }

    .elementor-section.mj-hero > .elementor-container {
        padding-top: 160px;
    }

    .mj-header {
        padding-top: 30px;
    }

    .mj-header-inner {
        height: 54px;
    }

    .mj-header .brand {
        left: 16px;
        width: 96px;
        height: 96px;
    }

    .mj-header.is-scrolled .brand {
        width: 70px;
        height: 70px;
    }

    .mj-nav {
        top: 54px;
    }

    .elementor .elementor-widget.hero-lead {
        font-size: 1.08rem;
    }

    /* Stacked buttons end flush with the proof list, so it needs its own gap */
    .hero-proof {
        margin-top: 28px;
        font-size: 0.82rem;
    }

    .mj-checker-calendar {
        padding: 14px 12px 12px;
    }

    .spec-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .included-band {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }

    .review-grid {
        columns: 1;
    }

    .rating-bars li {
        grid-template-columns: 110px 1fr 32px;
        gap: 10px;
    }

    .cross-country,
    .inquire-form,
    .price-card {
        padding: 24px;
    }

    .spec-table-wrap .spec-table tbody > tr > th,
    .spec-table-wrap .spec-table tbody > tr > td {
        padding: 10px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
