.rgc-ehs-root,
.rgc-ehs-root * {
  box-sizing: border-box;
}

body.elementor-page {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

.elementor .elementor-widget[class*="elementor-widget-rgc_"] {
  width: 100%;
  margin-bottom: 0 !important;
  text-align: initial;
}

.elementor .elementor-widget[class*="elementor-widget-rgc_"] > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.rgc-ehs-root {
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

.rgc-ehs-root h1,
.rgc-ehs-root h2,
.rgc-ehs-root h3,
.rgc-ehs-root h4,
.rgc-ehs-root h5,
.rgc-ehs-root h6 {
  font-family: var(--font-display);
}

.rgc-ehs-root img {
  display: block;
  max-width: 100%;
}

.rgc-ehs-root footer .brightness-0.invert img {
  height: 2.5rem;
  width: auto;
}

.elementor .rgc-ehs-root img.rounded-sm {
  border-radius: 0.125rem;
}

.elementor .rgc-ehs-root img.rounded-2xl {
  border-radius: 1rem;
}

.elementor .rgc-ehs-root img.rounded-full {
  border-radius: 9999px;
}

.rgc-ehs-root a,
.rgc-ehs-root a:hover,
.rgc-ehs-root a:focus {
  text-decoration: none;
}

.rgc-ehs-root .rgc-mobile-panel.hidden {
  display: none;
}

.rgc-ehs-root .rgc-mobile-panel.is-open {
  display: block;
}

.rgc-ehs-root .rgc-icon-close.hidden,
.rgc-ehs-root .rgc-icon-menu.hidden {
  display: none;
}

.rgc-ehs-root [data-rgc-header] .hidden.lg\:flex > a:not(.text-accent) {
  color: rgba(255, 255, 255, 0.82);
}

.rgc-ehs-root [data-rgc-header] .hidden.lg\:flex > a:hover {
  color: hsl(var(--accent));
}

.rgc-ehs-root [data-rgc-header] img[alt="RGC Logo"] {
  height: 5rem !important;
  width: auto !important;
  max-width: none !important;
}

.rgc-ehs-root [data-rgc-mobile-toggle] {
  color: #ffffff !important;
  background: #26b9f2 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0.75rem;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none !important;
}

.rgc-ehs-root [data-rgc-mobile-toggle] svg {
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  stroke-width: 2.9 !important;
}

.rgc-ehs-root [data-rgc-mobile-toggle][aria-expanded="true"],
.rgc-ehs-root [data-rgc-mobile-toggle]:hover,
.rgc-ehs-root [data-rgc-mobile-toggle]:active {
  background: #0f4ea8 !important;
  background-image: none !important;
}

.rgc-ehs-root [data-rgc-mobile-toggle][aria-expanded="false"] {
  background: #26b9f2 !important;
  background-image: none !important;
}

.rgc-ehs-root [data-rgc-mobile-toggle]:focus,
.rgc-ehs-root [data-rgc-mobile-toggle]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35) !important;
}

.rgc-ehs-root footer .py-14 .flex.flex-wrap.items-center.justify-center.gap-10.md\:gap-16 > div:nth-child(3) img {
  width: 13.5rem;
  height: auto !important;
}

@media (min-width: 768px) {
  .rgc-ehs-root footer .py-14 .flex.flex-wrap.items-center.justify-center.gap-10.md\:gap-16 > div:nth-child(3) img {
    width: 16rem;
  }
}

.rgc-ehs-root .rgc-letter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 0;
  color: hsl(var(--accent));
}

.rgc-ehs-root[data-rgc-speakers] [data-rgc-letter],
.rgc-ehs-root [data-rgc-speakers] [data-rgc-letter],
.rgc-ehs-root .rgc-letter-btn[data-rgc-letter] {
  display: none !important;
}

.rgc-ehs-root .rgc-home-speaker-search {
  position: relative;
  width: min(480px, 100%);
  margin: 0.25rem auto;
}

.rgc-ehs-root .rgc-home-speaker-search-host {
  width: min(540px, 100%);
  margin: 0 auto 2.4rem;
  padding: 0 0.5rem;
}

.rgc-ehs-root .rgc-home-speaker-search__icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--accent));
  opacity: 0.95;
  pointer-events: none;
}

.rgc-ehs-root .rgc-home-speaker-search__input {
  width: 100%;
  height: 2.95rem;
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--border) / 0.65);
  background: linear-gradient(180deg, hsl(var(--background) / 0.96), hsl(var(--secondary) / 0.45));
  padding: 0 1rem 0 2.9rem;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  box-shadow: 0 10px 22px hsl(var(--foreground) / 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.rgc-ehs-root [data-rgc-speaker-search] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326b9f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.9rem 50%;
  background-size: 1rem 1rem;
  padding-left: 2.8rem !important;
}

.rgc-ehs-root .rgc-home-speaker-search__input::placeholder {
  color: hsl(var(--muted-foreground));
}

.rgc-ehs-root .rgc-home-speaker-search__input:focus {
  outline: none;
  border-color: hsl(var(--accent) / 0.65);
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.2), 0 14px 28px hsl(var(--foreground) / 0.12);
}

.rgc-ehs-root .rgc-letter-btn[disabled] {
  pointer-events: none;
  color: rgba(148, 163, 184, 0.55);
  background: transparent;
  cursor: not-allowed;
}

.rgc-ehs-root .rgc-letter-btn:not([disabled]):not(.is-active):hover {
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.12);
  transform: scale(1.05);
}

.rgc-ehs-root .rgc-letter-btn.is-active {
  background: hsl(var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 24px hsl(var(--accent) / 0.35);
  transform: scale(1.1);
}

.rgc-ehs-root [data-rgc-speaker-card].is-hidden {
  display: none !important;
}

.rgc-ehs-root .rgc-about-circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.22);
  transform-origin: top center;
}

@media (max-width: 1024px) {
  .rgc-ehs-root .lg\:hidden[data-rgc-mobile-toggle] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .rgc-ehs-root [data-rgc-mobile-toggle] {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .rgc-ehs-root footer .brightness-0.invert img {
    height: 3.5rem;
  }
}
