/*
Theme Name: Betesda LP Performance
Author: Betesda
Description: Tema ultraligero, canvas-first y optimizado para landing pages creadas con Elementor y Betesda Landing Blocks.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: betesda-lp
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --blp-bg-start: #fbfbfd;
  --blp-bg-end: #f5f5f7;
  --blp-glow-one: rgba(0, 113, 227, .07);
  --blp-glow-two: rgba(255, 255, 255, .45);
  --blp-gradient-angle: 135deg;
  --blp-content-width: 1280px;
  --blp-text: #111118;
  --blp-focus: #0071e3;
  --blp-safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  color: var(--blp-text);
  background-color: var(--blp-bg-start);
  background-image:
    radial-gradient(circle at 8% 2%, var(--blp-glow-one) 0, transparent 32rem),
    radial-gradient(circle at 94% 12%, var(--blp-glow-two) 0, transparent 30rem),
    linear-gradient(var(--blp-gradient-angle), var(--blp-bg-start) 0%, var(--blp-bg-end) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.blp-gradient-disabled {
  background: var(--blp-bg-start);
}

img,
picture,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
textarea,
select {
  max-width: 100%;
  font: inherit;
}

button,
[role="button"],
summary,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blp-focus);
  outline-offset: 3px;
}

::selection {
  color: #ffffff;
  background: #0071e3;
}

.screen-reader-text,
.blp-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.blp-skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  clip-path: none;
  border-radius: 8px;
  color: #ffffff;
  background: #111118;
  font-weight: 700;
  text-decoration: none;
}

.site-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.lp-elementor-document,
.lp-elementor-document > .entry-content,
.elementor,
.elementor-location-single {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.lp-elementor-document > .entry-content::before,
.lp-elementor-document > .entry-content::after {
  display: none;
}

.lp-content-shell {
  width: min(calc(100% - 32px), 780px);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 96px) 0 calc(clamp(48px, 8vw, 96px) + var(--blp-safe-bottom));
}

.lp-entry-title {
  margin: 0 0 28px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.entry-content {
  overflow-wrap: anywhere;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
  border-radius: inherit;
}

.blp-empty,
.blp-404 {
  display: grid;
  width: min(calc(100% - 32px), 680px);
  min-height: 100svh;
  place-content: center;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}

.blp-404 h1 {
  margin: 0;
  font-size: clamp(72px, 20vw, 160px);
  line-height: .8;
}

.blp-404 p {
  margin: 28px 0;
  color: #656575;
  font-size: 18px;
}

.blp-button {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  justify-self: center;
  padding: 12px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #111118;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 767px) {
  body {
    background-image:
      radial-gradient(circle at 8% 2%, var(--blp-glow-one) 0, transparent 20rem),
      linear-gradient(var(--blp-gradient-angle), var(--blp-bg-start) 0%, var(--blp-bg-end) 100%);
    background-attachment: scroll;
  }

  .lp-content-shell {
    width: min(calc(100% - 24px), 780px);
  }
}

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

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

@media print {
  body {
    color: #000000;
    background: #ffffff;
  }

  .blp-skip-link {
    display: none;
  }
}
