/*
 * wohocars layout rhythm
 * Spacing and container alignment only. Loaded after page styles so every
 * marketing page follows one predictable vertical and horizontal grid.
 */

:root {
	--wohocars-section-space: 80px;
	--wohocars-section-head-gap: 48px;
	--wohocars-heading-description-gap: 20px;
	--wohocars-content-gap: 24px;
	--wohocars-column-gap: 48px;
}

.container {
	width: 100%;
	max-width: 1320px;
	padding-right: 24px;
	padding-left: 24px;
	margin-right: auto;
	margin-left: auto;
}

/* Primary page sections */
.wohocars-page-hero,
.wohocars-image-content-section,
.wohocars-opportunities-section,
.wohocars-four-items-section,
.wohocars-destinations-section,
.wohocars-adventure-section,
.wohocars-contact-reach-section,
.wohocars-support-section,
.wohocars-principles-section,
.wohocars-faq-section,
.wohocars-page-body,
.rental-vehicle-section,
.wohocars-destination-hero,
.wohocars-destination-section,
.wohocars-destination-cta {
	padding-top: var(--wohocars-section-space);
	padding-bottom: var(--wohocars-section-space);
}

.wohocars-adventure-section {
	margin-bottom: 0;
}

/* Shared section-heading rhythm */
.wohocars-opportunities-head,
.wohocars-four-items-head,
.wohocars-destinations-head,
.wohocars-contact-header,
.wohocars-contact-reach-head,
.wohocars-support-head,
.wohocars-faq-head,
.rental-vehicle-heading,
.wohocars-destination-section-head {
	margin-top: 0;
	margin-right: auto;
	margin-bottom: var(--wohocars-section-head-gap);
	margin-left: auto;
}

.wohocars-opportunities-head h2,
.wohocars-four-items-head h2,
.wohocars-destinations-head h2,
.wohocars-contact-header h2,
.wohocars-contact-reach-head h2,
.wohocars-support-head h2,
.wohocars-faq-head h2,
.rental-vehicle-heading h2,
.wohocars-destination-section-head h2 {
	margin-bottom: var(--wohocars-heading-description-gap);
}

/* Image/content sections keep columns and stacked content evenly separated. */
.wohocars-image-content-section .row,
.wohocars-principles-section .row,
.wohocars-page-hero .row {
	--bs-gutter-x: var(--wohocars-column-gap);
	--bs-gutter-y: var(--wohocars-column-gap);
	align-items: center;
}

.wohocars-image-content-body h2,
.wohocars-principles-content h2 {
	margin-bottom: var(--wohocars-heading-description-gap);
}

.wohocars-image-content-actions,
.wohocars-adventure-btn {
	margin-top: var(--wohocars-content-gap);
}

/* Consistent card and row spacing without altering card appearance. */
.wohocars-opportunities-section .row,
.wohocars-contact-reach-section .row,
.rental-vehicle-section .row {
	--bs-gutter-x: var(--wohocars-content-gap);
	--bs-gutter-y: var(--wohocars-content-gap);
}

.wohocars-content-items-grid,
.wohocars-four-items-grid,
.wohocars-destinations-grid,
.wohocars-support-grid,
.wohocars-principles-grid,
.wohocars-faq-accordion,
.wohocars-destination-card-grid,
.wohocars-destination-tips-grid,
.wohocars-destination-accordion {
	gap: var(--wohocars-content-gap);
}

.wohocars-destination-planning-grid,
.wohocars-destination-faq-wrap {
	gap: var(--wohocars-column-gap);
}

.wohocars-destination-overview {
	padding-bottom: var(--wohocars-section-space);
}

.wohocars-destination-actions,
.wohocars-destination-trust,
.wohocars-destination-feature-list {
	margin-top: var(--wohocars-content-gap);
}

/* Policy pages use the same outer section rhythm as all content pages. */
.wohocars-page-body.py-5 {
	padding-top: var(--wohocars-section-space) !important;
	padding-bottom: var(--wohocars-section-space) !important;
}

/* Footer-area alignment and breathing room. */
.wohocars-newsletter-bar {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

.wohocars-newsletter-form-wrap {
	min-width: min(100%, 390px);
}

.wohocars-newsletter-form-wrap form {
	position: relative;
}

.wohocars-newsletter-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wohocars-newsletter-feedback {
	min-height: 20px;
	margin-top: 5px;
	font-size: .75rem;
	font-weight: 600;
}

.wohocars-newsletter-feedback.is-success {
	color: #167447;
}

.wohocars-newsletter-feedback.is-error {
	color: #b42318;
}

.js-newsletter-submit {
	min-width: 105px;
}

footer {
	padding-top: var(--wohocars-section-space);
	padding-bottom: var(--wohocars-section-space);
}

footer .container > .d-flex,
footer .container > div:last-child {
	flex-wrap: wrap;
}

@media (max-width: 991.98px) {
	:root {
		--wohocars-section-space: 60px;
		--wohocars-section-head-gap: 40px;
		--wohocars-column-gap: 40px;
	}

	.container {
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media (max-width: 575.98px) {
	:root {
		--wohocars-section-space: 40px;
		--wohocars-section-head-gap: 40px;
		--wohocars-column-gap: 32px;
		--wohocars-content-gap: 20px;
	}

	.container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.wohocars-newsletter-bar .container,
	footer .container {
		text-align: center;
	}

	.wohocars-newsletter-bar form {
		width: 100%;
	}

	footer .container > div:last-child {
		justify-content: center;
	}
}

/* === WohoCars Brand Theme Application === */
:root {
  --primary: #0F4C81;
  --primary-dark: #0A355C;
  --primary-light: #EAF4FF;
  --secondary: #1E88E5;
  --secondary-dark: #1565C0;
  --secondary-light: #E8F3FF;
  --accent: #5CC8FF;
  --accent-light: #EEF9FF;
  --highlight: #FF8A00;
  --highlight-dark: #E67800;
  --highlight-light: #FFF3E0;
  --dark: #111827;
  --dark-soft: #1F2937;
  --surface: #FFFFFF;
  --bg: #F7FBFF;
  --bg-2: #EEF6FF;
  --border: #D8E8F7;
  --border-light: #EAF2FA;
  --text: #111827;
  --muted: #64748B;
  --success: #22A06B;
  --danger: #D64545;
  --shadow-soft: 0 10px 30px rgba(15, 76, 129, 0.10);
  --shadow-card: 0 14px 40px rgba(15, 76, 129, 0.14);
  --navy: var(--dark);
  --navy-700: var(--primary-dark);
  --navy-600: var(--primary);
  --navy-500: var(--secondary-dark);
  --navy-deep: var(--primary-dark);
  --navy-mid: var(--primary);
  --royal: var(--secondary);
  --royal-hover: var(--secondary-dark);
  --royal-light: var(--secondary-light);
  --royal-border: var(--border);
  --sky: var(--accent);
  --sky-light: var(--accent-light);
  --sky-deep: var(--secondary);
  --warning: var(--highlight);
  --warning-light: var(--highlight-light);
  --warning-border: #FFD8A8;
  --bg-raised: var(--bg-2);
  --surface-sunken: var(--bg);
  --text-1: var(--text);
  --text-2: var(--dark-soft);
  --text-3: var(--muted);
  --text-4: #94A3B8;
  --border-soft: var(--border-light);
  --border-strong: #B9D3EA;
  --shadow-md: var(--shadow-soft);
  --shadow-lg: var(--shadow-card);
  --shadow-royal: 0 14px 30px rgba(30, 136, 229, .26);
  --shadow-focus: 0 0 0 4px rgba(30, 136, 229, .16);
  --black: var(--dark);
  --white: var(--surface);
  --blue: var(--secondary);
  --orange: var(--highlight);
  --orange-hover: var(--highlight-dark);
  --orange-light: var(--highlight-light);
  --orange-border: #FFD8A8;
  --ink: var(--text);
  --ink-2: var(--dark-soft);
  --subtle: var(--muted);
  --line: var(--border);
  --warn: var(--highlight);
  --bs-primary: var(--primary);
  --bs-primary-rgb: 15, 76, 129;
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--secondary-dark);
}

html, body { background: var(--bg) !important; color: var(--text); }
body, input, select, textarea, button { font-family: var(--font-body, Inter, Arial, sans-serif); }
a { color: var(--primary); }
a:hover, a:focus-visible { color: var(--secondary-dark); }
::selection { background: rgba(92, 200, 255, .35); color: var(--dark); }

.navbar, .site-header, .wohocars-header, .wohocars-navbar, header .navbar {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-soft) !important;
}
.navbar .nav-link, .wohocars-header a, .wohocars-navbar a { color: var(--dark-soft) !important; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible, .navbar .nav-link.active,
.wohocars-header a:hover, .wohocars-header a.active, .wohocars-navbar a:hover, .wohocars-navbar a.active {
  color: var(--primary) !important;
}
.navbar-toggler, .menu-toggle, .mobile-menu-toggle { border-color: var(--border) !important; color: var(--primary) !important; }

.hero, .page-hero, .static-hero, .wohocars-hero, .wohocars-car-hero, .wohocars-contact-hero,
.wohocars-car-booking-hero, .wohocars-destination-hero, .wohocars-static-hero,
.cta-section, .wohocars-cta, .wohocars-destination-cta, .wohocars-adventure-section {
  background-color: var(--primary-dark) !important;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(92, 200, 255, .20), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 138, 0, .14), transparent 28%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 54%, var(--secondary) 118%) !important;
  color: #fff !important;
}
.hero *, .page-hero *, .static-hero *, .wohocars-hero *, .wohocars-car-hero *, .wohocars-contact-hero *,
.wohocars-car-booking-hero *, .wohocars-destination-hero *, .wohocars-static-hero *, .cta-section *, .wohocars-cta * {
  border-color: rgba(255, 255, 255, .18);
}
.hero h1, .page-hero h1, .static-hero h1, .wohocars-hero h1, .wohocars-car-hero h1,
.wohocars-contact-hero h1, .wohocars-car-booking-hero h1 { color: #fff !important; }
.hero p, .page-hero p, .static-hero p, .wohocars-hero p, .wohocars-car-hero p,
.wohocars-contact-hero p, .wohocars-car-booking-hero p { color: rgba(255,255,255,.82) !important; }

.card, .search-card, .main-card, .section-card, .content-card, .feature-card, .info-card,
.wohocars-card, .wohocars-car-search-card, .wohocars-car-result-card, .wohocars-car-filter-sidebar,
.wohocars-car-results-toolbar, .wohocars-car-search-summary, .wohocars-contact-card,
.wohocars-destination-card, .wohocars-destination-season-card, .fc-card, .booking-card,
.booking-summary-card, .vehicle-card, .destination-card, .airline-card, .trust-card, .promo-card,
.accordion-item, .modal-content {
  background: var(--surface) !important;
  border-color: var(--border-light) !important;
  box-shadow: var(--shadow-soft) !important;
  color: var(--text) !important;
}
.card:hover, .wohocars-card:hover, .wohocars-car-result-card:hover, .vehicle-card:hover,
.destination-card:hover, .airline-card:hover, .promo-card:hover {
  border-color: var(--border) !important;
  box-shadow: var(--shadow-card) !important;
}

.form-control, .form-select, input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], input[type="time"], input[type="search"], input[type="password"],
select, textarea, .wohocars-car-input-wrap input, .wohocars-car-input-wrap select {
  background: #fff !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  box-shadow: 0 6px 18px rgba(15, 76, 129, .05) !important;
}
.form-control:focus, .form-select:focus, input:focus, select:focus, textarea:focus,
.wohocars-car-input-wrap input:focus, .wohocars-car-input-wrap select:focus {
  border-color: var(--secondary) !important;
  box-shadow: var(--shadow-focus) !important;
  outline: 0 !important;
}
label, .form-label, .wohocars-car-field label { color: var(--dark-soft) !important; }
::placeholder { color: #94A3B8 !important; }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--secondary); }

.btn, button, .btn-primary, .btn-blue, .btn-search, .search-btn, .submit-btn,
.wohocars-car-search-button, .wohocars-contact-submit, .wohocars-car-booking-submit,
.wohocars-car-modify-button, .fc-btn--primary, .sr-modify-btn {
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn-primary, .btn-blue, .btn-search, .search-btn, .submit-btn,
.wohocars-car-search-button, .wohocars-contact-submit, .wohocars-car-booking-submit,
.fc-btn--primary, .sr-modify-btn, .wohocars-destination-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 76, 129, .22) !important;
}
.btn-primary:hover, .btn-blue:hover, .btn-search:hover, .search-btn:hover, .submit-btn:hover,
.wohocars-car-search-button:hover, .wohocars-contact-submit:hover, .wohocars-car-booking-submit:hover,
.fc-btn--primary:hover, .sr-modify-btn:hover, .wohocars-destination-btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(15, 76, 129, .28) !important;
  transform: translateY(-1px);
}
.btn-warning, .btn-orange, .btn-cta, .cta-button, .book-now-btn, .booking-btn,
.wohocars-car-book-button, .wohocars-hero-primary-btn, .wohocars-cta-btn, .pay-now-btn {
  background: linear-gradient(135deg, var(--highlight), #F97316) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(255, 138, 0, .24) !important;
}
.btn-warning:hover, .btn-orange:hover, .btn-cta:hover, .cta-button:hover, .book-now-btn:hover, .booking-btn:hover,
.wohocars-car-book-button:hover, .wohocars-hero-primary-btn:hover, .wohocars-cta-btn:hover, .pay-now-btn:hover {
  background: linear-gradient(135deg, var(--highlight-dark), #E67800) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(255, 138, 0, .30) !important;
}
.btn-outline-primary, .btn-outline-blue, .wohocars-car-call-button, .wohocars-car-mobile-filter,
.wohocars-car-modify-button {
  background: #fff !important;
  border-color: var(--border) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover, .btn-outline-blue:hover, .wohocars-car-call-button:hover,
.wohocars-car-mobile-filter:hover, .wohocars-car-modify-button:hover {
  background: var(--primary-light) !important;
  border-color: var(--secondary) !important;
  color: var(--secondary-dark) !important;
}

.badge, .tag, .pill, .chip, .deal-badge, .promo-badge, .status-badge,
.wohocars-car-hero-eyebrow, .wohocars-car-result-image > span, .fc-badge {
  background: var(--primary-light) !important;
  border-color: var(--border) !important;
  color: var(--primary) !important;
}
.badge-warning, .badge-highlight, .deal-badge, .promo-badge, .price-badge,
.wohocars-car-hero-eyebrow, .fc-badge--warning {
  background: var(--highlight-light) !important;
  border-color: #FFD8A8 !important;
  color: var(--highlight-dark) !important;
}
.price, .amount, .fare, .fare-total, .total-price, .car-price,
.wohocars-car-result-price strong, .fc-amount, .fc-price, .booking-total {
  color: var(--highlight) !important;
}
.icon, .feature-icon, .section-icon, .wohocars-car-input-wrap > i,
.wohocars-car-result-supplier, .wohocars-car-filter-head button,
.wohocars-destination-card a, .accordion-button:not(.collapsed) {
  color: var(--secondary) !important;
}
.wohocars-car-result-route-line i, .wohocars-car-results-header h1 i,
.wohocars-site-footer i, .footer i { color: var(--highlight) !important; }

.nav-tabs .nav-link.active, .tab.active, .filter-option.active, .selected,
.flight-sort-tab.active, .time-slot-btn.active, .active-filter, .accordion-button:not(.collapsed) {
  background: var(--primary-light) !important;
  border-color: var(--secondary) !important;
  color: var(--primary) !important;
}
.range-slider, .progress-bar, .loading-bar { background: linear-gradient(90deg, var(--primary), var(--secondary)) !important; }
.spinner-border { color: var(--secondary) !important; }
.skeleton, .skeleton-image, .skeleton-line, .skeleton-price, .placeholder-glow .placeholder {
  background: linear-gradient(90deg, var(--bg-2), var(--accent-light), var(--bg-2)) !important;
}
.alert-warning { background: var(--highlight-light) !important; border-color: #FFD8A8 !important; color: var(--highlight-dark) !important; }
.alert-success { background: #EAFBF4 !important; border-color: #B8E8D4 !important; color: var(--success) !important; }
.alert-danger { background: #FFF1F1 !important; border-color: #F4B8B8 !important; color: var(--danger) !important; }

.wohocars-car-results-page, .wohocars-car-results-section, .wohocars-car-results-search,
.wohocars-rental-search-section, .wohocars-destination-planning, .wohocars-contact-success,
.wohocars-static-page, .wohocars-section, .content-section, main {
  background-color: var(--bg) !important;
}
.wohocars-car-result-specs span, .wohocars-car-summary-meta span, .filter-chip,
.wohocars-car-results-toolbar select, .fc-badge--neutral {
  background: var(--bg-2) !important;
  border-color: var(--border-light) !important;
  color: var(--muted) !important;
}
.wohocars-car-result-route-line { background: var(--border) !important; }
/* .wohocars-car-result-image img { background: var(--bg-2) !important; } */
.wohocars-car-filter-group input:checked + span,
.wohocars-car-filter-group label:has(input:checked) { color: var(--primary) !important; }

.wohocars-site-footer, .site-footer, .footer, footer, .footer-area {
  background-color: var(--dark) !important;
  background-image:
    radial-gradient(circle at 8% 10%, rgba(92, 200, 255, .15), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(255, 138, 0, .10), transparent 26%) !important;
  color: #fff !important;
}
.wohocars-site-footer h1, .wohocars-site-footer h2, .wohocars-site-footer h3,
.site-footer h1, .site-footer h2, .site-footer h3, footer h1, footer h2, footer h3 { color: #fff !important; }
.wohocars-site-footer p, .wohocars-site-footer a, .site-footer p, .site-footer a, footer p, footer a {
  color: rgba(255,255,255,.72) !important;
}
.wohocars-site-footer a:hover, .site-footer a:hover, footer a:hover { color: var(--accent) !important; }
.wohocars-newsletter-bar { background: linear-gradient(135deg, var(--primary), var(--secondary)) !important; color: #fff !important; }

@media (max-width: 767.98px) {
  .card, .search-card, .wohocars-car-search-card, .wohocars-car-result-card, .wohocars-car-filter-sidebar,
  .wohocars-car-results-toolbar, .wohocars-car-search-summary { box-shadow: 0 8px 24px rgba(15, 76, 129, .10) !important; }
  .hero, .page-hero, .static-hero, .wohocars-hero, .wohocars-car-hero { background-position: center !important; }
}
/* === End WohoCars Brand Theme Application === */
