/* Shared presentation and performance-safe defaults across modern and legacy templates. */
:root {
  --ritd-brand: #a84f2b;
  --ritd-ink: #182b3a;
  --ritd-copy: #29313a;
  --ritd-line: #e4e8eb;
  --ritd-soft: #f7f4f1;
  --ritd-content-width: 1320px;
}
html { scroll-behavior: smooth; }
body { color: var(--ritd-copy); font-family: Poppins, Arial, sans-serif; line-height: 1.7; }
body :is(h1, h2, h3, h4, h5, h6) { color: var(--ritd-ink); font-family: Poppins, Arial, sans-serif; line-height: 1.3; }
body main img { max-width: 100%; }
body :is(.container, .container-fluid) { --bs-gutter-x: clamp(1.25rem, 3vw, 3rem); }
body main :is(.entry-content, .article-content, .tour-content, .destination-content) :is(p, li) { color: var(--ritd-copy); line-height: 1.75; }
body main :is(.entry-content, .article-content, .tour-content, .destination-content) h2 { margin-block: 1.8em .65em; }
body main :is(.entry-content, .article-content, .tour-content, .destination-content) h3 { margin-block: 1.35em .5em; }

.tripadvisor-summary { color: inherit; text-decoration: none; }
.tripadvisor-summary:hover, .tripadvisor-summary:focus-visible { color: var(--ritd-brand); text-decoration: underline; }

/* Keep Contact Form 7 controls consistent in full-width and sidebar enquiry forms. */
body .wpcf7 form { color: var(--ritd-copy); }
body .wpcf7 form :is(input:not([type="submit"]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--ritd-line);
  border-radius: 9px;
  background: #fff;
  color: var(--ritd-ink);
  font: inherit;
  line-height: 1.4;
}
body .wpcf7 form textarea { min-height: 120px; resize: vertical; }
body .wpcf7 form :is(input, select, textarea):focus-visible { outline: 3px solid rgb(168 79 43 / 22%); outline-offset: 1px; border-color: var(--ritd-brand); }
body .wpcf7 form input[type="submit"] { min-height: 46px; font: inherit; cursor: pointer; }
body .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: 9px; }
body .wpcf7 form .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #a1261b; font-size: .875rem; }
body .wpcf7 form .wpcf7-spinner { vertical-align: middle; }
@media (max-width: 767.98px) {
  body .wpcf7 form :is(input:not([type="submit"]), select, textarea) { font-size: 16px; }
  body main :is(.entry-content, .article-content, .tour-content, .destination-content) h2 { margin-block: 1.45em .55em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Travel-type archives: consistent readable text width and spacing. */
.tax-travel_type .section-copy,
.tax-travel_type .tour-list-heading-copy { max-width: 780px; }
.tax-travel_type .tour-list-heading-copy .section-title { max-width: 780px; }
.tax-travel_type .tour-list-heading { margin-bottom: 20px; }
