/* Fix for white space at top of homepage */
.page-id-11 .entry-content > .wp-block-cover:first-child,
.page-id-11 .wp-block-cover.alignfull:first-child {
    margin-top: 0 !important;
}

.page-id-11 .entry-header {
    margin-bottom: 0;
}

.page-id-11 .site-main {
    margin-top: 0;
}

/* Fix for invisible white text on dark background */
.page-id-11 .wp-block-cover .wp-block-heading.has-white-color,
.page-id-11 .wp-block-cover p.has-white-color {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
}

.page-id-11 .wp-block-cover.has-background-dim .wp-block-cover__background {
    opacity: 0.3 !important;
}

.page-id-11 .wp-block-cover.has-primary-background-color {
    background-color: #1a365d !important; /* Dark blue instead of black */
}


/* More specific fix for invisible text on homepage cover */
.page-id-11 .wp-block-cover.alignfull .wp-block-cover__inner-container h1,
.page-id-11 .wp-block-cover.alignfull .wp-block-cover__inner-container p {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    z-index: 2 !important;
    position: relative !important;
}

.page-id-11 .wp-block-cover.alignfull.has-background-dim-50 .wp-block-cover__background {
    opacity: 0.2 !important;
}

.page-id-11 .wp-block-cover.alignfull.has-primary-background-color .wp-block-cover__background {
    background-color: #1e3a8a !important;
}


/* Direct targeting of homepage hero text */
.page-id-11 .wp-block-cover.alignfull h1.wp-block-heading,
.page-id-11 .wp-block-cover.alignfull p.has-large-font-size {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.9), 2px 2px 4px rgba(0,0,0,0.8) !important;
    font-weight: 600 !important;
}

/* Ensure background is visible */
.page-id-11 .wp-block-cover.alignfull {
    background-color: #1e40af !important;
/* Apply shadcn classes to WordPress blocks */            .page-id-11 .wp-block-group {                @apply shadcn-card;            }            .page-id-11 .wp-block-group__inner-container h2:first-child {                @apply shadcn-card-title;            }            .page-id-11 .wp-block-group__inner-container p:first-of-type {                @apply shadcn-card-description;            }            .page-id-11 .wp-block-button .wp-block-button__link {                @apply shadcn-btn shadcn-btn-primary;            }            .page-id-11 .wp-block-button.is-style-outline .wp-block-button__link {                @apply shadcn-btn shadcn-btn-secondary;            }
}

.page-id-11 .wp-block-cover.alignfull .wp-block-cover__background {
    opacity: 0.4 !important;
    background-color: #1e40af !important;
/* Apply shadcn classes to WordPress blocks */            .page-id-11 .wp-block-group {                @apply shadcn-card;            }            .page-id-11 .wp-block-group__inner-container h2:first-child {                @apply shadcn-card-title;            }            .page-id-11 .wp-block-group__inner-container p:first-of-type {                @apply shadcn-card-description;            }            .page-id-11 .wp-block-button .wp-block-button__link {                @apply shadcn-btn shadcn-btn-primary;            }            .page-id-11 .wp-block-button.is-style-outline .wp-block-button__link {                @apply shadcn-btn shadcn-btn-secondary;            }
}


/* ===========================================
   SHADCN-INSPIRED DESIGN SYSTEM FOR EASYBORDER
   =========================================== */

/* CSS Variables - shadcn color palette */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222.2 84% 4.9%;
  --muted: 210 40% 96%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96%;
  --accent-foreground: 222.2 84% 4.9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --radius: 0.5rem;
}

/* Modern typography - shadcn inspired */
body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Card components - shadcn style */
.shadcn-card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.shadcn-card-header {
  margin-bottom: 1rem;
}

.shadcn-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.shadcn-card-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin: 0.5rem 0 0 0;
}

/* Button styles - shadcn inspired */
.shadcn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  outline: none;
}

.shadcn-btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
}

.shadcn-btn-primary:hover {
  background-color: hsl(221.2 83.2% 46.3%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.shadcn-btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--border));
  padding: 0.5rem 1rem;
}

.shadcn-btn-secondary:hover {
  background-color: hsl(var(--muted));
}

.shadcn-btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
  padding: 0.5rem 1rem;
}

.shadcn-btn-ghost:hover {
  background-color: hsl(var(--accent));
}

/* Input styles - shadcn inspired */
.shadcn-input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 0 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease-in-out;
}

.shadcn-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.shadcn-input::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Layout utilities */
.shadcn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.shadcn-grid {
  display: grid;
  gap: 1rem;
}

.shadcn-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.shadcn-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shadcn-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shadcn-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Spacing utilities */
.shadcn-space-y-4 > * + * { margin-top: 1rem; }
.shadcn-space-y-6 > * + * { margin-top: 1.5rem; }
.shadcn-space-y-8 > * + * { margin-top: 2rem; }

/* Apply shadcn styling to existing WordPress elements */
.page-id-11 .wp-block-group {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 2rem;
  margin-bottom: 2rem;
}

.page-id-11 .wp-block-group.has-background {
  background-color: hsl(var(--accent)) !important;
}

.page-id-11 .wp-block-button__link {
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.page-id-11 .wp-block-button__link:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Modern header styling */
.site-header {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid hsl(var(--border));
}

/* Enhanced typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: hsl(var(--foreground));
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.entry-content p {
  color: hsl(var(--foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Modern color scheme */
.has-primary-background-color {
  background-color: hsl(var(--primary)) !important;
}

.has-secondary-background-color {
  background-color: hsl(var(--secondary)) !important;
}

.has-white-color {
  color: hsl(var(--background)) !important;
}

