/*
Theme Name: Ricardo Herz Modern
Theme URI: https://ricardoherz.com.br/
Author: Herz Produções
Description: Tema independente, leve e responsivo para o site de Ricardo Herz.
Version: 1.0.14
Text Domain: ricardo-herz-modern
*/

:root {
  --rh-bg: #ffffff;
  --rh-surface: #f7f2f0;
  --rh-surface-strong: #efe7e3;
  --rh-ink: #211f20;
  --rh-muted: #6e686b;
  --rh-line: #dfd7d4;
  --rh-accent: #a63f63;
  --rh-accent-dark: #84304e;
  --rh-accent-soft: #f7edf1;
  --rh-gold: #d4a51e;
  --rh-white: #ffffff;
  --rh-shadow: 0 20px 56px rgba(35, 27, 30, 0.1);
  --rh-radius: 2px;
  --rh-content: 1180px;
  --rh-narrow: 820px;
  --rh-header: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rh-header) + 24px);
}

body {
  margin: 0;
  background: var(--rh-bg);
  color: var(--rh-ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.rh-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

a {
  color: var(--rh-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--rh-accent-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(166, 63, 99, 0.45);
  outline-offset: 4px;
}

::selection {
  background: var(--rh-accent);
  color: var(--rh-white);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--rh-white);
  color: var(--rh-ink);
  box-shadow: var(--rh-shadow);
}

.rh-container {
  width: min(calc(100% - 48px), var(--rh-content));
  margin-inline: auto;
}

.rh-narrow {
  width: min(calc(100% - 48px), var(--rh-narrow));
  margin-inline: auto;
}

/* Header */
.rh-site-header {
  position: relative;
  z-index: 1000;
  min-height: var(--rh-header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(33, 31, 32, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rh-site-header.rh-is-sticky {
  position: sticky;
  top: 0;
}

.admin-bar .rh-site-header.rh-is-sticky {
  top: 32px;
}

.rh-header-inner {
  min-height: var(--rh-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.rh-brand {
  position: relative;
  z-index: 1002;
  flex: 0 0 auto;
  color: var(--rh-ink);
  text-decoration: none;
}

.rh-brand:hover,
.rh-brand:focus-visible {
  color: var(--rh-accent);
}

.rh-brand .custom-logo {
  width: auto;
  max-width: 176px;
  max-height: 58px;
}

.rh-brand-name {
  display: inline-flex;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rh-primary-nav {
  margin-left: auto;
}

.rh-primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
}

.rh-primary-menu > li {
  position: relative;
}

.rh-primary-menu a {
  display: block;
  color: var(--rh-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.rh-primary-menu > li > a {
  padding-block: 34px;
}

.rh-primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  height: 2px;
  background: var(--rh-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

.rh-primary-menu > li:hover > a::after,
.rh-primary-menu > li:focus-within > a::after,
.rh-primary-menu > .current-menu-item > a::after,
.rh-primary-menu > .current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.rh-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: -24px;
  min-width: 260px;
  max-width: 360px;
  padding: 12px 0;
  background: var(--rh-white);
  border: 1px solid var(--rh-line);
  box-shadow: var(--rh-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rh-primary-menu li:hover > .sub-menu,
.rh-primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rh-primary-menu .sub-menu a {
  padding: 12px 24px;
  letter-spacing: 0.055em;
  text-transform: none;
}

.rh-primary-menu .sub-menu a:hover,
.rh-primary-menu .sub-menu a:focus-visible,
.rh-primary-menu .sub-menu .current-menu-item > a {
  background: var(--rh-accent-soft);
  color: var(--rh-accent-dark);
}

.rh-primary-menu .sub-menu .sub-menu {
  top: -13px;
  left: calc(100% - 1px);
}

.rh-menu-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--rh-ink);
  cursor: pointer;
}

.rh-menu-toggle-lines,
.rh-menu-toggle-lines::before,
.rh-menu-toggle-lines::after {
  position: absolute;
  left: 10px;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}

.rh-menu-toggle-lines {
  top: 23px;
}

.rh-menu-toggle-lines::before,
.rh-menu-toggle-lines::after {
  content: "";
  left: 0;
}

.rh-menu-toggle-lines::before {
  top: -8px;
}

.rh-menu-toggle-lines::after {
  top: 8px;
}

.rh-submenu-toggle {
  display: none;
}

.rh-menu-open .rh-menu-toggle-lines {
  background: transparent;
}

.rh-menu-open .rh-menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.rh-menu-open .rh-menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Content */
.rh-site-main {
  min-height: 60vh;
}

.rh-page,
.rh-post {
  margin: 0;
}

.rh-page-content::after,
.rh-entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.rh-default-page,
.rh-default-post {
  padding-block: clamp(58px, 8vw, 112px);
}

.rh-entry-header {
  margin-bottom: 36px;
}

.rh-entry-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.rh-entry-meta {
  margin-top: 16px;
  color: var(--rh-muted);
  font-size: 15px;
}

.rh-entry-content > *:first-child,
.rh-page-content > *:first-child {
  margin-top: 0;
}

.rh-entry-content > *:last-child,
.rh-page-content > *:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rh-ink);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 7vw, 88px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(27px, 3.5vw, 42px); }
h4 { font-size: clamp(22px, 2.5vw, 30px); }

p,
ul,
ol,
blockquote {
  text-wrap: pretty;
}

blockquote {
  margin: 42px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--rh-accent);
  color: #4f4a4c;
  font-size: clamp(21px, 2.4vw, 31px);
  font-style: italic;
  line-height: 1.55;
}

blockquote cite {
  display: block;
  margin-top: 14px;
  color: var(--rh-accent-dark);
  font-size: 0.64em;
  font-style: normal;
  font-weight: 800;
}

hr {
  border: 0;
  border-top: 1px solid var(--rh-line);
  margin-block: 50px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rh-line);
  text-align: left;
  vertical-align: top;
}

/* WordPress and WPBakery compatibility */
.alignwide {
  width: min(calc(100% - 48px), 1380px);
  max-width: none;
  margin-inline: auto;
}

.alignfull {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
  color: var(--rh-muted);
  font-size: 14px;
}

.sticky,
.bypostauthor {
  display: block;
}

.vc_row {
  position: relative;
}

/* WPBakery gives every row -15px side margins. At page root that creates
   horizontal scrolling; nested grid rows keep their original gutters. */
.rh-page-content > .vc_row,
.rh-entry-content > .vc_row,
.rh-page-content > .wpb-content-wrapper > .vc_row,
.rh-entry-content > .wpb-content-wrapper > .vc_row {
  margin-right: 0;
  margin-left: 0;
}

.vc_row[data-vc-full-width] {
  overflow: visible;
}

.wpb_content_element {
  margin-bottom: 28px;
}

.wpb_single_image img {
  width: 100%;
}

.vc_btn3,
.wpb_button,
.rh-button,
.rh-page-content .button,
.rh-entry-content .button,
.rh-page-content a[class*="btn"],
.rh-entry-content a[class*="btn"] {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 25px !important;
  border: 1px solid var(--rh-accent) !important;
  border-radius: var(--rh-radius) !important;
  background: transparent !important;
  color: var(--rh-accent-dark) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.035em;
  line-height: 1.35 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
}

.vc_btn3:hover,
.vc_btn3:focus-visible,
.wpb_button:hover,
.wpb_button:focus-visible,
.rh-button:hover,
.rh-button:focus-visible,
.rh-page-content .button:hover,
.rh-entry-content .button:hover,
.rh-page-content a[class*="btn"]:hover,
.rh-entry-content a[class*="btn"]:hover {
  background: var(--rh-accent) !important;
  color: var(--rh-white) !important;
}

.vc_btn3.vc_btn3-color-white,
.vc_btn3.vc_btn3-color-grey,
.vc_btn3.vc_btn3-style-filled,
.rh-button--filled {
  background: var(--rh-accent) !important;
  color: var(--rh-white) !important;
}

.vc_btn3.vc_btn3-color-white:hover,
.vc_btn3.vc_btn3-color-grey:hover,
.vc_btn3.vc_btn3-style-filled:hover,
.rh-button--filled:hover {
  background: var(--rh-accent-dark) !important;
  border-color: var(--rh-accent-dark) !important;
}

.vc_video-bg,
.wpb_video_widget,
.wp-block-embed,
.rh-video {
  overflow: hidden;
}

.wpb_video_wrapper,
.wp-block-embed__wrapper,
.rh-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.wpb_video_wrapper iframe,
.wp-block-embed__wrapper iframe,
.rh-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*
 * YouTube previews are rendered by the site before the player is loaded.
 * Keeping the action below the image prevents controls from covering faces,
 * titles or other important details in the thumbnail.
 */
.rh-youtube-preview {
  width: 100%;
}

/* WPBakery reserves a fixed 16:9 box and clips anything below it. The site
 * preview includes its action underneath the image, so let that state size
 * itself naturally. Once the real iframe is restored, these selectors stop
 * matching and WPBakery's original video sizing takes over again. */
.wpb_video_wrapper:has(> .rh-youtube-preview) {
  height: auto;
  padding-top: 0 !important;
  overflow: visible;
}

.wpb_video_widget:has(.rh-youtube-preview) {
  overflow: visible;
}

.rh-youtube-preview__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rh-accent);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.rh-youtube-preview__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #171516;
}

.rh-youtube-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.rh-youtube-preview__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 10px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.rh-youtube-preview__label::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.rh-youtube-preview__trigger:hover .rh-youtube-preview__media img {
  filter: brightness(0.96);
  transform: scale(1.012);
}

.rh-youtube-preview__trigger:hover .rh-youtube-preview__label,
.rh-youtube-preview__trigger:focus-visible .rh-youtube-preview__label {
  background: var(--rh-accent);
  border-color: var(--rh-accent);
  color: var(--rh-white);
}

.rh-youtube-preview__trigger:focus-visible {
  outline: 2px solid var(--rh-accent);
  outline-offset: 5px;
}

@media (max-width: 680px) {
  .rh-youtube-preview__label {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 0.76rem;
  }
}

.rh-page-content .vc_grid-item img,
.rh-page-content .wpb_single_image img,
.rh-page-content .wp-post-image {
  object-fit: cover;
  object-position: center;
}

/* Common project/album cards */
.rh-card,
.vc_grid-item-mini {
  height: 100%;
  background: var(--rh-white);
  box-shadow: 0 10px 34px rgba(35, 27, 30, 0.07);
}

.rh-card {
  display: flex;
  flex-direction: column;
}

.rh-card-content {
  padding: clamp(24px, 3vw, 38px);
}

.rh-eyebrow {
  margin: 0 0 16px;
  color: var(--rh-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Editorial layout shared by the newer project pages.
   These pages already carry .rh-project hooks in WPBakery; keeping the
   treatment here makes PT, EN and FR use the same rhythm automatically. */
.rh-page-content .rh-project {
  width: min(calc(100% - 48px), var(--rh-content));
  max-width: var(--rh-content);
  margin-right: auto !important;
  margin-left: auto !important;
  padding-block: clamp(22px, 3.6vw, 48px);
}

.rh-page-content .rh-project > .wpb_column > .vc_column-inner {
  padding-inline: clamp(10px, 1.35vw, 18px);
}

.rh-page-content .rh-project:first-child .wpb_text_column,
.rh-page-content .rh-project .rh-lead {
  max-width: 940px;
  margin-inline: auto;
}

.rh-page-content .wpb-content-wrapper > .rh-project:first-child {
  max-width: 1060px;
  padding-top: clamp(52px, 6vw, 88px);
}

.rh-page-content .rh-project .rh-kicker {
  margin: 0 0 12px;
  color: var(--rh-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.rh-page-content .rh-project .rh-center {
  margin-inline: auto;
  text-align: center;
}

.rh-page-content .rh-project h2.rh-center {
  margin-top: 0;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.rh-page-content .rh-project .rh-lead {
  margin-bottom: 24px;
  color: #413c3e;
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.58;
  text-align: center;
}

.rh-page-content .rh-project p {
  max-width: 72ch;
}

.rh-page-content .rh-project p.rh-center {
  margin-inline: auto;
}

.rh-page-content .rh-project.rh-sep {
  margin-top: clamp(12px, 2vw, 28px) !important;
  padding-top: clamp(42px, 5vw, 70px);
  border-top: 1px solid var(--rh-line);
}

.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  padding-top: 18px;
}

.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)) > .wpb_column {
  float: none;
  width: auto;
}

.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)) .wpb_text_column {
  height: 100%;
  min-height: 126px;
  padding: 22px 24px;
  border-top: 2px solid var(--rh-accent);
  background: var(--rh-surface);
  color: #4d4749;
  line-height: 1.55;
}

.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)) strong {
  display: block;
  margin-bottom: 7px;
  color: var(--rh-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-6) {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(38px, 5vw, 72px);
  max-width: 1060px;
}

.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-12),
.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-2):has(> .vc_col-sm-8) {
  max-width: 1060px;
}

.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-6) > .wpb_column {
  float: none;
  width: auto;
}

.rh-page-content .rh-project.rh-sep > .vc_col-sm-6 > .vc_column-inner {
  padding-inline: 0;
}

.rh-page-content .rh-project.rh-sep > .vc_col-sm-6 h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

.rh-page-content .rh-project:has(> .wpb_column .wpb_single_image) {
  max-width: 1060px;
  padding-block: 10px 24px;
}

.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1060px;
  padding-block: 2px;
}

.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container))::before,
.rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container))::after,
.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-6)::before,
.rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-6)::after,
.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container)::before,
.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container)::after {
  display: none;
  content: none;
}

.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container) > .wpb_column {
  float: none;
  width: auto;
}

.rh-page-content .rh-project:has(> .vc_col-sm-3):has(.vc_btn3-container) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container) .vc_btn3-container {
  width: 100%;
  margin-bottom: 12px;
}

.rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container) .vc_btn3 {
  width: 100%;
  min-height: 58px;
}

@media (max-width: 900px) {
  .rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)),
  .rh-page-content .rh-project:has(> .wpb_column .vc_btn3-container),
  .rh-page-content .rh-project.rh-sep:has(> .vc_col-sm-6) {
    grid-template-columns: 1fr;
  }

  .rh-page-content .rh-project:has(> .vc_col-sm-4):not(:has(.vc_btn3-container)) .wpb_text_column {
    min-height: 0;
  }
}

/* Footer */
.rh-site-footer {
  padding-block: 38px;
  background: var(--rh-ink);
  color: rgba(255, 255, 255, 0.68);
}

.rh-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rh-footer-brand {
  color: var(--rh-white);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.rh-footer-copy {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.045em;
}

.rh-footer-top {
  color: var(--rh-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.rh-footer-top:hover,
.rh-footer-top:focus-visible {
  color: #f4b4ca;
}

/* Errors and search */
.rh-message-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding-block: 80px;
  text-align: center;
}

.rh-message-page h1 {
  margin-bottom: 22px;
}

.rh-message-page p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--rh-muted);
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --rh-header: 76px;
  }

  /*
   * A backdrop filter creates a containing/stacking context in some mobile
   * browsers.  That made the fixed menu behave like it belonged only to the
   * sticky header, allowing page content to overlap it.  Keep the blur on
   * desktop and use a solid, viewport-sized layer for the mobile menu.
   */
  .rh-site-header {
    z-index: 2147483000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rh-menu-toggle {
    display: block;
  }

  .rh-primary-nav {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: calc(var(--rh-header) + 44px) 24px 48px;
    background: var(--rh-white);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .rh-menu-open .rh-primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rh-menu-open .rh-brand,
  .rh-menu-open .rh-menu-toggle {
    z-index: 2147483002;
  }

  .rh-primary-menu {
    width: min(100%, 760px);
    margin: auto;
    display: block;
  }

  .rh-primary-menu li {
    position: relative;
  }

  .rh-primary-menu > li {
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-primary-menu a {
    font-size: clamp(20px, 4.5vw, 36px);
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: none;
  }

  .rh-primary-menu > li > a {
    padding: 17px 54px 17px 4px;
  }

  .rh-primary-menu > li > a::after {
    display: none;
  }

  .rh-primary-menu .sub-menu,
  .rh-primary-menu .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    padding: 0 0 10px 20px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .rh-primary-menu .rh-submenu-open > .sub-menu {
    display: block;
  }

  .rh-submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(132, 48, 78, 0.58);
    cursor: pointer;
  }

  .rh-submenu-toggle span,
  .rh-submenu-toggle span::after {
    display: block;
    width: 14px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, color 160ms ease;
  }

  .rh-submenu-toggle span::after {
    transform: rotate(90deg);
  }

  .rh-submenu-toggle[aria-expanded="true"] span::after {
    transform: rotate(0);
  }

  .rh-primary-menu .sub-menu a {
    padding: 8px 4px;
    color: var(--rh-muted);
    font-size: clamp(17px, 3.4vw, 23px);
    font-weight: 500;
    letter-spacing: 0.025em;
  }

  .rh-primary-menu .sub-menu .menu-item-has-children > a {
    padding-right: 54px;
  }

  .rh-primary-menu .sub-menu .rh-submenu-toggle {
    top: 0;
  }

  .rh-primary-menu .sub-menu a:hover,
  .rh-primary-menu .sub-menu a:focus-visible,
  .rh-primary-menu .sub-menu .current-menu-item > a {
    background: transparent;
  }
}

@media (max-width: 782px) {
  .admin-bar .rh-site-header.rh-is-sticky {
    top: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --rh-header: 70px;
  }

  body {
    font-size: 17px;
    line-height: 1.68;
  }

  .rh-container,
  .rh-narrow,
  .alignwide {
    width: min(calc(100% - 32px), var(--rh-content));
  }

  .rh-page-content .rh-project {
    width: min(calc(100% - 32px), var(--rh-content));
    padding-block: 28px;
  }

  .rh-page-content .rh-project > .wpb_column > .vc_column-inner {
    padding-inline: 0;
  }

  .rh-page-content .rh-project.rh-sep {
    padding-top: 38px;
  }

  .rh-page-content .rh-project .rh-lead {
    font-size: 19px;
    text-align: left;
  }

  .rh-brand .custom-logo {
    max-width: 142px;
    max-height: 46px;
  }

  .rh-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .vc_row:not([data-vc-stretch-content]) > .wpb_column > .vc_column-inner {
    padding-inline: 16px;
  }

  .wpb_single_image,
  .wpb_single_image .vc_single_image-wrapper,
  .wpb_single_image img {
    width: 100%;
  }

  .vc_btn3-container,
  .vc_btn3,
  .rh-page-content .button,
  .rh-entry-content .button {
    width: 100%;
  }

  blockquote {
    padding-left: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
