/* Additions on top of the Tentpole (Framer) styles for Africa Camping Rentals. */

/* Logo in the header bar (reversed lockup on the navy bar) */
.acr-logo { display: block; height: 44px; width: auto; }
@media (max-width: 809.98px) { .acr-logo { height: 38px; } }

/* The footer's large wordmark, set in Lora instead of the template's image */
[data-framer-name="Footer Wordmark Wrap"] { container-type: inline-size; }
.acr-bigword {
  margin: 0;
  width: 100%;
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 9.45cqw;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--token-e98b6ced-f406-41f2-a33f-8ee454e944e9, #f6f6f0);
}

/* Rich text on equipment and guide pages, matched to the template's paragraph style */
.acr-prose > * + * { margin-top: 16px; }
.acr-prose .acr-h2 {
  margin: 36px 0 0;
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--token-e98b6ced-f406-41f2-a33f-8ee454e944e9, #f6f6f0);
}
.acr-prose .acr-h2:first-child { margin-top: 0; }
.acr-prose .acr-list { margin: 16px 0 0; padding: 0 0 0 1.15em; list-style: none; }
.acr-prose .acr-list li { position: relative; }
.acr-prose .acr-list li + li { margin-top: 8px; }
.acr-prose .acr-list li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--token-6078b11e-fd19-4980-acae-474fa526d00c, #dde0b8);
}
.acr-prose a, .acr-doc a, .acr-inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.acr-prose a:hover, .acr-doc a:hover, .acr-inline:hover { text-decoration-thickness: 2px; }
.acr-prose strong { font-weight: 700; }
.acr-table { overflow-x: auto; }
.acr-table table, .acr-doc table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--token-0d1035db-44d8-41a4-89da-b562f9e6c2b9, #bac4cf);
}
.acr-table th, .acr-table td, .acr-doc th, .acr-doc td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--token-aa26a95d-9e7c-4ec0-8c48-255e80a711ae, #345473);
  text-align: left;
  vertical-align: top;
}
.acr-table th, .acr-doc th { font-weight: 600; color: var(--token-e98b6ced-f406-41f2-a33f-8ee454e944e9, #f6f6f0); }
.acr-doc { overflow-x: auto; width: 100%; }
.acr-credit { font-size: 14px !important; opacity: 0.8; }

/* Links written into the template's text: links inside the template's own text styles keep theirs */
.acr-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Phone menu: the drawer opens over the page, like the template's open bar */
.acr-drawer[hidden] { display: none !important; }
header.acr-menu-open {
  position: fixed !important;
  inset: 0;
  z-index: 50;
  height: 100dvh;
  overflow-y: auto;
  background-color: var(--token-a90ef0d2-697a-4bd1-9653-cefeb2c8916b, #15304a) !important;
}
html.acr-no-scroll, html.acr-no-scroll body { overflow: hidden; }
.acr-drawer .acr-drawer-button { width: 100%; }
[data-framer-name="Menu Button"] { cursor: pointer; }

/* FAQ accordion */
[data-acr-faq] [data-framer-name="Row"] { cursor: pointer; }
[data-acr-faq] [data-framer-name="Answer Wrap"][hidden] { display: none !important; }
[data-acr-faq] [data-framer-name="Icon Box"] { transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .3s; }

/* Quote form messages */
.acr-form-status {
  margin: 4px 0 0;
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--token-e98b6ced-f406-41f2-a33f-8ee454e944e9, #f6f6f0);
}
.acr-form-status[hidden] { display: none; }
.acr-form-status:focus { outline: none; }
.acr-form-error { color: #ffd2c2; }
form [aria-invalid="true"] { box-shadow: 0 0 0 2px #ffb59c inset; }
button[aria-disabled="true"] { opacity: .7; cursor: progress; }

/* Keyboard focus, in the light olive tint that reads on navy */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--token-6078b11e-fd19-4980-acae-474fa526d00c, #dde0b8);
  outline-offset: 3px;
}

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

/* Links written into answers and documents from content/site.mjs (the template's own links all carry its classes) */
a:not([class]) {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:not([class]):hover { text-decoration-thickness: 2px; }
