/*
Theme Name: Space Rights, LLC
Theme URI: https://example.com/
Author: lovable-to-wordpress converter
Description: Block theme generated automatically from a Lovable (React/Vite/Tailwind) project.
Version: 1.0.1789142681
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: space-rights-llc
*/

/* Most styling lives in theme.json. Keep only small helpers here. */
.is-style-rounded img {
  border-radius: 0.75rem;
}
/* Links inside explicitly-colored text keep that color (muted links etc.) */
p.has-text-color a {
  color: inherit;
}
.converted-form-placeholder {
  border: 1px dashed currentColor;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  opacity: 0.7;
}
/* Icon-only links (header cart, footer socials) */
.converted-cart,
.converted-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #2e3948;
  border-radius: 0.375rem;
  color: inherit;
}
/* Live cart count badge (filled by WooCommerce cart fragments) */
.converted-cart {
  position: relative;
}
.converted-cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--wp--preset--color--primary, #1e293b);
  color: var(--wp--preset--color--primary-foreground, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.converted-cart-count.is-empty {
  display: none;
}
/* Converted footer: links inherit the footer text color, no underline,
   and link lists render without bullets (nav-style lists) */
.converted-footer a {
  color: inherit;
  text-decoration: none;
}
.converted-footer a:hover {
  text-decoration: underline;
}
.converted-footer ul {
  list-style: none;
  padding-left: 0;
}
/* Template-level blocks (header, content, footer) sit flush */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}
/* Page sections stack flush like the source — vertical rhythm lives inside
   each section's own padding, not in a block gap between them */
.wp-block-post-content > * + * {
  margin-block-start: 0 !important;
}

/* Translucent blurred header bar (backdrop-blur in the source) */
.converted-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Desktop popover for tel: links */
.converted-tel-popup {
  position: absolute;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #2e3948;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  padding: 1rem 1.25rem;
  max-width: 20rem;
}
.converted-tel-popup p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.converted-tel-popup .converted-tel-number {
  margin-top: 0.375rem;
  font-weight: 700;
  font-size: 1.0625rem;
}
/* Kept absolute decorations (card corner numbers) */
.converted-abs {
  position: absolute;
  margin: 0;
  pointer-events: none;
}
.wp-block-group:has(> .converted-abs) {
  position: relative;
}
/* Circular avatars / rounded media (radius lives here — inline radius on
   the img/figure is not part of the core blocks' save output) */
.converted-circle img {
  border-radius: 9999px;
}
.wp-block-video.converted-rounded video {
  border-radius: 0.75rem;
}
/* Buttons in one row stretch to equal height (the source rows are flex
   containers whose default alignment stretches every button) */
.wp-block-buttons.is-layout-flex {
  align-items: stretch;
}
.wp-block-buttons.is-layout-flex > .wp-block-button {
  display: flex;
}
.wp-block-buttons.is-layout-flex > .wp-block-button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
}
/* Flex-column cards (blog articles etc.): the body grows and the trailing
   call-to-action pins to the bottom, so buttons align across the row */
/* Sections with a source min-height and items-center: center the content
   vertically (constrained layout keeps centering children horizontally). */
.wp-block-group.converted-vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-block-group.converted-vcenter > * {
  width: 100%;
}
.converted-flex-card {
  display: flex;
  flex-direction: column;
}
/* Fixed-height cropped preview boxes (h-48 overflow-hidden): the inline
   min-height becomes the exact height and the overflow is clipped. */
.wp-block-group.converted-clip {
  height: 0;
  overflow: hidden;
}
.converted-flex-card > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
.converted-flex-card > .wp-block-group:last-child:not(.wp-block-buttons) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.converted-flex-card > .wp-block-group:last-child > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
/* Crossfade image carousel (stacked absolute slides in the source) */
.converted-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.converted-carousel .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.converted-carousel .wp-block-image.is-active {
  opacity: 1;
}
.converted-carousel .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.converted-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background 150ms ease;
  z-index: 1;
}
.converted-carousel-nav:hover {
  background: #ffffff;
}
.converted-carousel-nav.is-prev {
  left: 0.75rem;
}
.converted-carousel-nav.is-next {
  right: 0.75rem;
}
.converted-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}
.converted-carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}
.converted-carousel-dots button.is-active {
  width: 1.5rem;
  background: var(--wp--preset--color--primary, #333333);
}
/* Cards that lift on hover in the source design */
.converted-lift {
  transition: transform 0.25s ease;
}
.converted-lift:hover {
  transform: translateY(-0.25rem);
}
/* Inline icons inside text and buttons */
.converted-inline-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}
.converted-icon-solo {
  margin-right: 0 !important;
}
/* Source lists carry their own markers */
ul.converted-check-list {
  list-style: none;
  padding-left: 0;
}
ul.converted-dot-list {
  list-style: disc;
  padding-left: 1.25rem;
}
/* Quotes: no decorative side bar unless the source added one */
.wp-block-quote {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}
.wp-block-quote cite {
  font-style: normal;
  font-weight: 600;
}
/* FAQ accordions (core/details) */
.wp-block-details {
  border-bottom: 1px solid #2e3948;
  padding: 1.25rem 0;
}
.wp-block-details summary {
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-block-details[open] summary {
  margin-bottom: 0.75rem;
}
/* Grid layouts collapse to one column on small screens */
@media (max-width: 781px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hover states carried over from the source design */
.wp-block-button.converted-hover-1 .wp-block-button__link {
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.wp-block-button.converted-hover-1 .wp-block-button__link:hover {
  background-color:#1e293d !important;
}

/* CSS variables from the source project */
:root {
--radius: 0.25rem;

  --background: oklch(0.17 0.035 262);
  --foreground: oklch(0.94 0.008 90);

  --surface: oklch(0.22 0.038 262);
  --card: oklch(0.22 0.038 262);
  --card-foreground: oklch(0.94 0.008 90);
  --popover: oklch(0.22 0.038 262);
  --popover-foreground: oklch(0.94 0.008 90);

  --primary: oklch(0.78 0.11 82);
  --primary-foreground: oklch(0.18 0.035 262);

  --brass: oklch(0.78 0.11 82);
  --brass-foreground: oklch(0.18 0.035 262);

  --secondary: oklch(0.28 0.04 262);
  --secondary-foreground: oklch(0.94 0.008 90);

  --muted: oklch(0.26 0.035 262);
  --muted-foreground: oklch(0.72 0.02 250);

  --accent: oklch(0.3 0.05 250);
  --accent-foreground: oklch(0.95 0.008 90);

  --destructive: oklch(0.58 0.2 25);
  --destructive-foreground: oklch(0.97 0.005 90);

  --border: oklch(0.34 0.03 258);
  --input: oklch(0.34 0.03 258);
  --ring: oklch(0.78 0.11 82);

  --gradient-void: linear-gradient(
    180deg,
    oklch(0.14 0.03 262) 0%,
    oklch(0.2 0.04 262) 100%
  );
  --shadow-panel: 0 18px 50px -24px oklch(0.05 0.02 262 / 0.85);
}

/* Ported from the source project's @utility surface-panel */
.surface-panel:not(.wp-block-button) {
background-color: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}
.wp-block-button.surface-panel .wp-block-button__link {
background-color: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

/* Ported from the source project's @utility void-gradient */
.void-gradient:not(.wp-block-button) {
background-image: var(--gradient-void);
}
.wp-block-button.void-gradient .wp-block-button__link {
background-image: var(--gradient-void);
}

/* Ported from the source project's @utility eyebrow */
.eyebrow:not(.wp-block-button) {
font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brass);
}
.wp-block-button.eyebrow .wp-block-button__link {
font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brass);
}

/* Ported from the source project's @utility prose-legal */
.prose-legal:not(.wp-block-button) {
& p {
    margin-block: 1rem;
    line-height: 1.75;
    color: var(--color-foreground);
  }
  & h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
  }
  & ul {
    margin-block: 1rem;
    padding-left: 1.125rem;
    list-style: disc;
  }
  & li {
    margin-block: 0.375rem;
    line-height: 1.7;
  }
  & a {
    color: var(--color-brass);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.wp-block-button.prose-legal .wp-block-button__link {
& p {
    margin-block: 1rem;
    line-height: 1.75;
    color: var(--color-foreground);
  }
  & h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
  }
  & ul {
    margin-block: 1rem;
    padding-left: 1.125rem;
    list-style: disc;
  }
  & li {
    margin-block: 0.375rem;
    line-height: 1.7;
  }
  & a {
    color: var(--color-brass);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
