/*
Theme Name: Rainbow River Modern
Author: Nature Coast Web Design & Marketing, Inc.
Description: Modern classic theme for Rainbow River Boat Rentals.
Version: 1.0.17
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rainbow-river-modern
*/

:root {
  --rr-blue: #0a5f9e;
  --rr-blue-dark: #073f73;
  --rr-sky: #61bde8;
  --rr-orange: #f8954c;
  --rr-orange-dark: #994f1a;
  --rr-red: #d72828;
  --rr-ink: #153244;
  --rr-muted: #5c6d78;
  --rr-surface: #ffffff;
  --rr-soft: #f3f8fa;
  --rr-line: #d8e8ef;
  --rr-shadow: 0 18px 50px rgba(8, 49, 82, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rr-ink);
  background: #f8fbfc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--rr-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--rr-orange-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--rr-line);
}

.admin-bar .site-header {
  top: auto;
}

.header-inner,
.site-main,
.footer-inner,
.partner-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 104px;
}

.site-branding {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  width: min(344px, 52vw);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rr-blue), var(--rr-sky));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 95, 158, 0.24);
  font-weight: 800;
}

.site-title {
  margin: 0;
  color: var(--rr-blue-dark);
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  line-height: 1.05;
}

.site-description {
  margin: 4px 0 0;
  color: var(--rr-muted);
  font-size: 0.92rem;
  line-height: 1.25;
}

.primary-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--rr-ink);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: #fff;
  background: var(--rr-blue);
  transform: translateY(-1px);
}

.header-right {
  display: grid;
  gap: 22px;
  justify-items: end;
}

.menu-toggle {
  display: none;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.header-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(8, 49, 82, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-button:hover,
.header-button:focus {
  color: #fff;
  box-shadow: 0 15px 28px rgba(8, 49, 82, 0.22);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.call-button {
  background: var(--rr-blue);
}

.reserve-button {
  background: var(--rr-orange-dark);
}

.hero {
  overflow: hidden;
  color: #fff;
  background: var(--rr-blue-dark);
}

.hero-media {
  position: relative;
  min-height: min(68vh, 640px);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--rr-hero-image, url("/images/slide1.jpg")) center / cover no-repeat;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 43, 73, 0.88), rgba(6, 43, 73, 0.5) 46%, rgba(6, 43, 73, 0.2)),
    linear-gradient(0deg, rgba(6, 43, 73, 0.78), transparent 46%);
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffe7d1;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.1rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: var(--rr-orange-dark);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(153, 79, 26, 0.2);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
button:hover,
input[type="submit"]:hover {
  color: #fff;
  background: var(--rr-blue);
  box-shadow: 0 14px 28px rgba(10, 95, 158, 0.24);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--rr-blue-dark);
  background: #fff;
}

.site-main {
  padding: 52px 0;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.content-panel,
.sidebar-card,
.booking-note,
.rental-card,
.wp-block-table {
  background: var(--rr-surface);
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  box-shadow: var(--rr-shadow);
}

.content-panel {
  padding: clamp(24px, 4vw, 44px);
}

.entry-title {
  margin-top: 0;
  color: var(--rr-blue-dark);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.sidebar-card {
  position: sticky;
  top: 281px;
  padding: 24px;
}

.admin-bar .sidebar-card {
  top: 313px;
}

.sidebar-card h2 {
  margin-top: 0;
  color: var(--rr-blue-dark);
  font-size: 1.35rem;
}

.contact-list {
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 0 0 12px;
}

.partner-links a {
  display: block;
  margin: 8px 0;
  font-weight: 700;
}

.rental-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.rental-card {
  overflow: hidden;
}

.rental-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.rental-card:hover img,
.gallery-grid a:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.rental-card-body {
  padding: 20px;
}

.rental-card h2,
.rental-card h3 {
  margin-top: 0;
  color: var(--rr-blue-dark);
}

.boat-section-photo {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 22px 0 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.boat-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
}

.boat-section-heading h2 {
  margin: 0;
}

.boat-section h2 a {
  color: inherit;
  text-decoration-color: var(--rr-sky);
}

.boat-section h2 a:hover,
.boat-section h2 a:focus {
  color: var(--rr-blue);
}

.boat-section-book-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--rr-red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(215, 40, 40, 0.18);
}

.boat-section-book-now:hover,
.boat-section-book-now:focus {
  background: #b91f1f;
  color: #fff;
}

.wp-block-table {
  overflow: hidden;
  margin: 24px 0;
}

.wp-block-table table,
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rr-line);
  vertical-align: top;
}

th {
  color: #fff;
  background: var(--rr-blue);
  text-align: left;
}

tr:nth-child(even) td {
  background: var(--rr-soft);
}

.booking-note {
  padding: 20px;
  border-left: 5px solid var(--rr-orange);
}

.booking-note + .boat-section {
  margin-top: 48px;
}

.booking-note + .boat-section .boat-section-heading {
  margin-top: 0;
}

.woocommerce form.checkout .col2-set .col-1 {
  float: none !important;
  width: 100% !important;
}

.woocommerce form.checkout .col2-set .col-2,
.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}

.woocommerce-checkout #customer_details {
  max-width: none;
}

.woocommerce-checkout #order_comments_field,
.woocommerce-checkout #billing_order_comments_field {
  margin-top: 24px;
}

.woocommerce-checkout #billing_order_comments {
  min-height: 120px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  background: var(--rr-soft);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 49, 82, 0.12);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.rrbr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 24, 40, 0.9);
}

.rrbr-lightbox.is-open {
  display: flex;
}

.rrbr-lightbox-open {
  overflow: hidden;
}

.rrbr-lightbox figure {
  margin: 0;
  max-width: min(1100px, 82vw);
  max-height: 88vh;
}

.rrbr-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.rrbr-lightbox figcaption {
  margin-top: 10px;
  color: #fff;
  text-align: center;
}

.rbfw_dt_row_related_item .owl-carousel.owl-drag .owl-item,
.rbfw-related-product-inner {
  height: auto !important;
}

.rbfw-related-product-thumb {
  height: 140px !important;
  background-size: cover !important;
  background-position: center !important;
}

.rbfw-related-product-inner .rbfw-related-product-content-wrapper {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  gap: 10px;
}

.rbfw-related-product .rbfw-related-product-title-wrap,
.rbfw-related-product-price-wrap {
  margin-bottom: 0;
}

.rbfw_bikecarsd_price_table th {
  color: var(--rr-ink) !important;
  background: #dfe7ec !important;
}

.rbfw_bikecarsd_price_table th.w_20_pc {
  color: transparent !important;
  font-size: 0 !important;
}

.rbfw_bikecarsd_price_table th.w_20_pc::before {
  color: var(--rr-ink);
  content: "Reserve";
  font-size: 1rem;
}

.rbfw_bikecarsd_price_table th.w_20_pc[data-rrbr-relabeled="true"] {
  color: var(--rr-ink) !important;
  font-size: 1rem !important;
}

.rbfw_bikecarsd_price_table th.w_20_pc[data-rrbr-relabeled="true"]::before {
  content: none;
}

.rbfw_bikecarsd_price_table td.w_20_pc {
  min-width: 118px;
}

.rbfw_bikecarsd_price_table .switch {
  width: 104px !important;
  height: 38px !important;
  margin-right: 0 !important;
}

.rbfw_bikecarsd_price_table .slider {
  display: grid;
  place-items: center;
  border-radius: 6px !important;
  background: var(--rr-blue) !important;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  box-shadow: 0 10px 22px rgba(10, 95, 158, 0.22);
}

.rbfw_bikecarsd_price_table .slider::before {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  content: "Add";
  transform: none !important;
}

.rbfw_bikecarsd_price_table input:checked + .slider {
  background: var(--rr-orange-dark) !important;
  box-shadow: 0 10px 22px rgba(153, 79, 26, 0.22);
}

.rbfw_bikecarsd_price_table input:checked + .slider::before {
  content: "Remove";
}

.rrbr-lightbox button {
  position: absolute;
  min-width: 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--rr-blue-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
}

.rrbr-lightbox-close {
  top: 22px;
  right: 22px;
}

.rrbr-lightbox-prev {
  left: 22px;
}

.rrbr-lightbox-next {
  right: 22px;
}

.post-type-archive-rbfw_item .page-shell .rbfw_rent_list_col,
.page-id-18 .rbfw_rent_list_col,
.page-id-18 .rbfw_rent_list_col_grid,
.page-id-18 .rbfw_rent_list_wrapper .rbfw_rent_list_col,
.page-id-18 .rbfw_rent_list_wrapper [class*="rbfw_rent_list_col"] {
  width: calc(50% - 16px) !important;
  flex: 0 0 calc(50% - 16px) !important;
  max-width: calc(50% - 16px) !important;
}

.page-id-18 .rbfw_rent_list_wrapper,
.page-id-18 .rbfw_rent_list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.page-id-18 .rbfw_rent_list_wrapper [class*="rbfw_rent_list_col"] .rbfw_rent_list_inner {
  height: 100%;
}

.rbfw_feature_lists,
.rbfw_feature_category,
.rbfw_feature_list,
.rbfw_feature_info,
.rbfw_rent_list_features,
.rbfw_rent_list_feature {
  display: none !important;
}

.alignright {
  float: right;
  margin: 6px 0 18px 24px;
  max-width: min(350px, 46%);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(8, 49, 82, 0.16);
}

.partner-strip {
  background: linear-gradient(180deg, var(--rr-orange-dark), var(--rr-orange));
  padding: 34px 0;
}

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

.partner-card {
  overflow: hidden;
  color: var(--rr-ink);
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(69, 33, 7, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partner-card:hover,
.partner-card:focus {
  color: var(--rr-ink);
  box-shadow: 0 18px 38px rgba(69, 33, 7, 0.28);
  transform: translateY(-3px);
}

.partner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.partner-card span {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #fff;
  background: linear-gradient(180deg, var(--rr-blue), var(--rr-sky));
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.1rem;
  line-height: 1.05;
  text-align: center;
}

.site-footer {
  color: #d8edf7;
  background:
    linear-gradient(180deg, rgba(7, 56, 91, 0.96), rgba(6, 34, 58, 1)),
    var(--rr-blue-dark);
}

.footer-inner {
  display: grid;
  gap: 0;
  padding: 46px 0 30px;
  font-size: 0.96rem;
}

.footer-inner a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.9fr) minmax(200px, 0.7fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 30px;
}

.footer-brand {
  max-width: 420px;
}

.footer-kicker {
  display: block;
  margin-bottom: 2px;
  color: #9ad6f2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.footer-brand p,
.footer-bottom p {
  margin: 0;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 30rem;
  color: #d8edf7;
}

.footer-section h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-section address {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  color: #d8edf7;
  font-style: normal;
  line-height: 1.55;
}

.footer-section address span {
  color: #fff;
  font-weight: 800;
}

.footer-phone {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--rr-orange-dark);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(3, 20, 34, 0.25);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.footer-phone:hover,
.footer-phone:focus {
  color: #fff;
  background: var(--rr-orange);
  box-shadow: 0 16px 30px rgba(3, 20, 34, 0.32);
  transform: translateY(-2px);
}

.footer-links .menu {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: #d8edf7;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid rgba(216, 237, 247, 0.18);
  color: #bddcea;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-credit {
  text-align: right;
}

.footer-copyright span {
  display: block;
}

.ada-note {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0;
  color: #a9cedf;
}

@media (max-width: 920px) {
  .header-inner,
  .page-shell,
  .footer-inner,
  .partner-inner {
    grid-template-columns: 1fr;
  }

  .header-right,
  .header-actions {
    justify-content: flex-start;
    justify-items: start;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-credit {
    text-align: left;
  }

  .header-inner {
    align-items: start;
  }

  .header-right {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    position: relative;
    z-index: 35;
    display: inline-grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0;
    place-items: center;
    border: 0 !important;
    border-radius: 6px;
    background: var(--rr-blue);
    box-shadow: 0 12px 28px rgba(10, 95, 158, 0.22);
    cursor: pointer;
    transform: none;
  }

  .menu-toggle:hover,
  .menu-toggle:focus {
    color: #fff !important;
    background: var(--rr-blue) !important;
    border: 0 !important;
    box-shadow: 0 14px 30px rgba(10, 95, 158, 0.26);
    transform: none;
  }

  .menu-toggle:focus-visible {
    border: 0 !important;
    outline: 3px solid rgba(97, 189, 232, 0.72);
    outline-offset: 3px;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle-bars {
    position: relative;
  }

  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle-bars::before {
    top: -7px;
  }

  .menu-toggle-bars::after {
    top: 7px;
  }

  .nav-open .menu-toggle-bars {
    transform: rotate(45deg);
  }

  .nav-open .menu-toggle-bars::before {
    transform: translateY(7px) rotate(90deg);
  }

  .nav-open .menu-toggle-bars::after {
    opacity: 0;
  }

  .nav-open .menu-toggle {
    position: fixed;
    top: 22px;
    right: 18px;
    z-index: 40;
  }

  .site-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 30;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 104px 24px 28px;
    background: #fff;
    box-shadow: -24px 0 60px rgba(8, 49, 82, 0.2);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-open .site-navigation {
    transform: translateX(0);
  }

  .nav-open {
    overflow: hidden;
  }

  .primary-menu {
    display: grid;
    gap: 8px;
    align-items: stretch;
    justify-content: stretch;
  }

  .primary-menu a {
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .sidebar-card,
  .footer-credit {
    max-height: none;
    overflow: visible;
    position: static;
    text-align: left;
  }

  .rental-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    padding-bottom: 34px;
  }

  .header-inner,
  .site-main,
  .footer-inner,
  .partner-inner,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .hero-media {
    min-height: 560px;
  }

  .site-logo-img {
    width: min(100%, 450px);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .header-button {
    width: 100%;
  }

  .rental-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .boat-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .boat-section-book-now {
    width: 100%;
  }

  .page-id-18 .rbfw_rent_list_col,
  .page-id-18 .rbfw_rent_list_col_grid,
  .page-id-18 .rbfw_rent_list_wrapper .rbfw_rent_list_col,
  .page-id-18 .rbfw_rent_list_wrapper [class*="rbfw_rent_list_col"] {
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .rrbr-lightbox {
    padding: 16px;
  }

  .rrbr-lightbox figure {
    max-width: 100%;
  }

  .rrbr-lightbox-prev {
    left: 10px;
  }

  .rrbr-lightbox-next {
    right: 10px;
  }

  .alignright {
    float: none;
    max-width: 100%;
    margin: 10px 0 18px;
  }
}
