/*
Theme Name: Malta Drive Rentals
Theme URI: https://example.com/malta-drive-rentals
Author: Malta Drive Rentals
Author URI: https://example.com
Description: SEO-ready WordPress theme for a Malta car rental website with a homepage booking enquiry form, fleet cards, pickup locations, and conversion-focused calls to action.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: malta-drive-rentals
*/

:root {
  --ink: #17212b;
  --muted: #64707d;
  --line: #dbe2e8;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --sea: #007c89;
  --sea-dark: #075d68;
  --sun: #f5b84b;
  --coral: #d95f4c;
  --shadow: 0 20px 60px rgba(23, 33, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 226, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--sea);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #324150;
  font-size: 15px;
}

.main-nav .menu {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle strong {
  font-size: 13px;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--sea);
}

.nav-action {
  min-width: max-content;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1800&q=82")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 26, 35, 0.86), rgba(15, 26, 35, 0.28) 58%, rgba(15, 26, 35, 0.7));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 54px 0 84px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: #102028;
  background: var(--sun);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.full {
  width: 100%;
}

.booking-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.booking-title span {
  font-weight: 800;
}

.booking-title strong {
  color: var(--sea-dark);
}

label {
  display: grid;
  gap: 7px;
  color: #344351;
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd8df;
  border-radius: 8px;
}

.booking-alert {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.booking-alert.success {
  color: #124437;
  background: #dff5ec;
  border: 1px solid #a8ddcb;
}

.booking-alert.error {
  color: #742016;
  background: #fbe7e3;
  border: 1px solid #efb2a7;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(245, 184, 75, 0.55);
  outline-offset: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 24px clamp(18px, 4vw, 54px);
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 20px;
}

.trust-band span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro p:last-child,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  min-height: 38px;
  padding: 8px 13px;
  color: #324150;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: #fff;
  background: var(--sea);
  border-color: var(--sea);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.car-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

.car-card[hidden] {
  display: none;
}

.car-card img {
  height: 220px;
  object-fit: cover;
}

.car-card-image {
  display: block;
}

.car-body {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.car-body h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.car-body p,
.car-body ul {
  color: var(--muted);
}

.car-model {
  margin-bottom: 8px;
  color: var(--sea-dark) !important;
  font-weight: 800;
}

.car-body ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.car-footer strong {
  color: var(--sea-dark);
  font-size: 20px;
}

.car-footer a,
.text-link {
  color: var(--sea-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.steps ol {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 72px;
  padding-left: 64px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  content: counter(steps);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
}

.coverage {
  border-top: 1px solid var(--line);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.location-grid article {
  padding: 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.location-grid span {
  display: inline-grid;
  min-width: 46px;
  min-height: 32px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--sea);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.location-grid h3 {
  margin-bottom: 8px;
}

.location-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.seo-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 92px);
}

.seo-content h2 {
  max-width: 760px;
}

.seo-content p {
  max-width: 840px;
  color: var(--muted);
  font-size: 17px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.faq-grid details {
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
  font-size: 15px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 6vw, 76px);
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background: var(--sea-dark);
  border-radius: 8px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 64px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 26, 35, 0.9), rgba(15, 26, 35, 0.45)),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1600&q=82")
      center / cover;
}

.page-hero div,
.page-content {
  width: min(940px, 100%);
}

.page-content {
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) 18px;
}

.page-content h2 {
  max-width: 760px;
}

.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 18px;
}

.page-content .fleet-grid {
  margin: 28px 0;
}

.page-fleet-heading {
  margin-top: 34px;
}

.rental-product-hero {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.rental-product-hero-bg,
.rental-product-hero-bg::after,
.rental-product-hero-bg img {
  position: absolute;
  inset: 0;
}

.rental-product-hero-bg::after {
  display: block;
  content: "";
  background: linear-gradient(90deg, rgba(15, 26, 35, 0.9), rgba(15, 26, 35, 0.48) 58%, rgba(15, 26, 35, 0.72));
}

.rental-product-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.rental-product-hero-inner {
  position: relative;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 68vh;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 112px) 0;
}

.rental-product-hero h1 {
  max-width: 850px;
  font-size: clamp(48px, 8vw, 92px);
}

.rental-product-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.rental-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.rental-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0;
}

.rental-gallery {
  display: grid;
  gap: 14px;
}

.rental-main-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.rental-main-image img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.rental-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rental-thumb-row div {
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rental-thumb-row strong,
.rental-thumb-row span {
  display: block;
}

.rental-thumb-row strong {
  color: var(--ink);
  font-size: 20px;
}

.rental-thumb-row span {
  color: var(--muted);
  font-size: 14px;
}

.rental-booking-panel {
  position: sticky;
  top: 92px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

.rental-booking-panel h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.product-model {
  color: var(--sea-dark);
  font-size: 18px;
  font-weight: 800;
}

.product-price {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.product-price span,
.product-deposit {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 14px;
}

.product-specs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.product-specs div {
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-specs strong,
.product-specs span {
  display: block;
}

.product-specs strong {
  color: var(--ink);
}

.product-specs span {
  color: var(--muted);
}

.product-description {
  max-width: 760px;
}

.product-description p,
.product-description li {
  color: var(--muted);
  font-size: 18px;
}

.rental-detail-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(24px, 5vw, 58px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
}

.rental-detail-band > div > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.rental-experience-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 58px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 7vw, 86px);
  padding: clamp(32px, 5vw, 58px);
  background: var(--sea-dark);
  border-radius: 8px;
  color: #fff;
}

.rental-experience-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.rental-experience-section .info-grid {
  margin: 0;
}

.rental-experience-section .info-grid > div {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.rental-experience-section .info-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list,
.info-grid,
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.feature-list > div,
.info-grid > div,
.contact-panel > div {
  padding: 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list strong,
.feature-list span,
.contact-panel strong,
.contact-panel span {
  display: block;
}

.feature-list strong,
.contact-panel strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.feature-list span,
.contact-panel span {
  color: var(--muted);
}

.info-grid span {
  display: inline-grid;
  min-width: 46px;
  min-height: 32px;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--sea);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.info-grid h3 {
  margin-bottom: 8px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 70px;
  padding: 18px 18px 18px 74px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  content: counter(process);
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  color: var(--ink);
}

.process-list span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.faq-list details {
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  font-size: 16px;
}

.checkout-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 32px 0;
  padding: clamp(24px, 4vw, 38px);
  color: #fff;
  background: var(--sea-dark);
  border-radius: 8px;
}

.checkout-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.deposit-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 4vw, 34px);
  margin: 22px 0 36px;
}

.deposit-hero-panel {
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 26, 35, 0.9), rgba(7, 93, 104, 0.78)),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1400&q=82")
      center / cover;
  border-radius: 8px;
}

.deposit-hero-panel h2 {
  max-width: 680px;
  font-size: clamp(34px, 5vw, 58px);
}

.deposit-hero-panel p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.deposit-summary-panel,
.deposit-note,
.deposit-steps > div {
  padding: 22px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deposit-summary-panel h3 {
  font-size: 24px;
}

.deposit-summary-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.deposit-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.deposit-steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.deposit-steps strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.deposit-steps p,
.deposit-note p {
  color: var(--muted);
}

.blog-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 56px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 90px) 0;
}

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

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

.blog-card-image img {
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.blog-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.post-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.post-meta a {
  color: var(--sea-dark);
}

.blog-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.blog-sidebar > div {
  padding: 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blog-sidebar h2 {
  font-size: 22px;
}

.blog-sidebar ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.single-post {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.single-post-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.single-post-header h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.single-post-image {
  overflow: hidden;
  margin-bottom: 34px;
  border-radius: 8px;
}

.single-post-image img {
  max-height: 520px;
  object-fit: cover;
}

.single-post-content {
  max-width: 760px;
}

.single-post-content h2 {
  margin-top: 34px;
  font-size: clamp(26px, 3vw, 36px);
}

.single-post-content p,
.single-post-content li {
  color: var(--muted);
  font-size: 18px;
}

.post-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 44px;
  padding: 28px;
  color: #fff;
  background: var(--sea-dark);
  border-radius: 8px;
}

.post-cta p {
  color: rgba(255, 255, 255, 0.82);
}

dialog {
  width: min(480px, calc(100% - 36px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(15, 26, 35, 0.66);
}

dialog form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: var(--mist);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
  }

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

  .nav-action {
    order: 3;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }

  .menu-open .main-nav {
    display: grid;
  }

  .main-nav,
  .main-nav .menu {
    gap: 0;
  }

  .main-nav .menu {
    display: grid;
  }

  .main-nav a,
  .main-nav .menu a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
  }

  .hero-inner,
  .intro,
  .split,
  .rental-product-main,
  .rental-detail-band,
  .rental-experience-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .rental-booking-panel {
    position: static;
  }

  .hero-inner {
    padding-top: 34px;
  }

  .booking-card {
    max-width: 560px;
  }

  .trust-band,
  .fleet-grid,
  .location-grid,
  .faq-grid,
  .feature-list,
  .info-grid,
  .contact-panel,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .deposit-landing,
  .deposit-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 44px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .field-grid,
  .trust-band,
  .fleet-grid,
  .location-grid,
  .faq-grid,
  .feature-list,
  .info-grid,
  .contact-panel,
  .deposit-landing,
  .deposit-steps,
  .blog-grid,
  .product-actions,
  .checkout-panel,
  .post-cta {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .contact-actions .button,
  .hero-actions .button {
    width: 100%;
  }
}
