/* TOPYOU main-site performance and accessibility refinements. */

@font-face {
  font-family: "eicons";
  src: url("/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff2?5.46.0") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 5 Free";
  src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.elementor-100 .elementor-element.elementor-element-c392c03.typa-hero-poster,
.elementor-100 .elementor-element.elementor-element-c392c03.typa-hero-poster:not(.elementor-motion-effects-element-type-background) {
  background-image: url("/wp-content/uploads/2026/11/topyou-home-hero-1200x627.webp") !important;
  background-position: 50% 50% !important;
  background-size: cover !important;
}

.typa-hero-play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border: 2px solid #fff;
  border-radius: 50% !important;
  background: rgba(41, 37, 30, .82) !important;
  color: #fff !important;
  cursor: pointer;
}
.typa-hero-play:hover,
.typa-hero-play:focus-visible { background: #5f482b; outline: 3px solid #f0c97f; outline-offset: 3px; }
.typa-hero-play svg { display: block !important; width: 22px; height: 22px; margin-left: 3px; fill: #fff !important; }
.typa-hero-video { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; }

/* Keep the established brown/gold palette while meeting WCAG AA for normal text. */
.elementor-kit-16 .elementor-button,
.elementor-kit-16 button,
.elementor-kit-16 input[type="button"],
.elementor-kit-16 input[type="submit"],
.elementor-kit-16 .uc_btn,
.elementor-kit-16 .ff-btn-submit { background-color: #725735 !important; color: #fff !important; }
.elementor-kit-16 .elementor-button:hover,
.elementor-kit-16 .elementor-button:focus,
.elementor-kit-16 .uc_btn:hover,
.elementor-kit-16 .uc_btn:focus { background-color: #5f482b !important; color: #fff !important; }
.elementor-100 .elementor-element.elementor-element-43d630c .elementor-heading-title { color: #f0c97f; }
.elementor-100 .elementor-widget-loop-grid .elementor-button { background-color: #725735 !important; color: #fff !important; }
.elementor-100 .elementor-button,
.elementor-100 .uc_btn,
.elementor-100 .ff-btn-submit { background-color: #725735 !important; color: #fff !important; }
.elementor-100 [style*="#ab6e1f" i] { color: #805019 !important; }

/* Heading tags changed to paragraphs retain their existing visual treatment. */
footer p.elementor-heading-title { margin: 0; }

.typa-main:focus { outline: 0; }

@media (max-width: 767px) {
  body.ty-layout-main.home [data-elementor-type="wp-page"] > .elementor-element-c392c03.typa-hero-poster {
    background-image: none !important;
    background-color: #29251e !important;
  }
  .typa-hero-play { width: 48px !important; min-width: 48px !important; height: 48px !important; min-height: 48px !important; }
}

